A person commits an offence if:
(a) a security officer gives the person a direction under section 31; and
(b) when, or as soon as practicable after, giving the direction, the officer informs the person that the person may commit an offence if he or she does not comply with the direction; and
(c) the person does not comply with the direction.