Former attorney-general insists levelling ‘record-setting penalties’ was right course of action