(1) Any person (whether a youth justice custodial officer, a visitor or any other person) who intends to enter or leave a youth justice custodial centre, if asked, must submit to—
(a) a screening search; and
(b) a pat-down search.
(2) Subsection (1)(b) 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.