(1) If the Commissioner for Youth Justice is of the opinion that it is necessary to do so in the interests of the safety, security or stability of a youth justice custodial centre or the children and young persons held in custody in the youth justice custodial centre, the Commissioner may order at any time that a youth justice custodial officer carry out a pat-down search or a screening search of any person in the youth justice custodial centre.
(2) Subsection (1) does not apply to a judge of the Supreme Court or County Court or a magistrate.
(3) A person must not be asked under this section to submit to—
(a) an unclothed search; or
(b) a search of the person's body cavities.
(4) This section does not apply to a child or young person held in custody in a youth justice custodial centre.