(1) A security officer may detain a person on court premises for the purposes of delivering the person into the custody of a police officer, if a security officer reasonably believes that the person:
(a) has committed, or attempted to commit, an offence on the premises; and
(b) must be detained to prevent violence to a person on the court premises or serious damage to the court premises.
(2) A security officer may use only such force as is necessary and reasonable in the circumstances in detaining a person under this section.
(3) A security officer who detains a person under this section:
(a) must ensure that the person is delivered into the custody of a police officer as soon as possible to be dealt with according to law for the alleged offence; and
(b) must inform the person in general terms of the alleged offence, unless:
(i) it is reasonable to expect that the person knows of his or her alleged commission of the offence or attempt to commit it; or
(ii) it is impracticable for the security officer to do so.