A court that:
(a) convicts a person of an offence against this Act; or
(b) makes a declaration of contravention against a person, or imposes a pecuniary penalty on a person, for a contravention of a civil penalty provision;
may make an order that the person take action specified in the order to publicise either or both of the following:
(c) the offence or contravention;
(d) any penalty imposed.