(1) Unless subsection (2) applies, if an unclothed search is to be conducted of a child held in custody in a police gaol—
(a) the police gaol officer conducting the search must be of the same sex as the child; and
(b) to the extent that it is reasonably practicable and safe to do so, the additional police gaol officer required under section 584(4) to be present for the search must also be of the same sex as the child.
(2) If an unclothed search is to be conducted of a child held in custody in a police gaol whose gender identity does not correspond to their sex designated at birth, to the extent that it is reasonably practicable and safe to do so—
(a) the police gaol officer conducting the search must be of the sex or gender identity nominated by the child; and
(b) the additional police gaol officer required under section 584(4) to be present for the search must also be of the sex or gender identity nominated by the child.
(3) An unclothed search of any child held in custody in a police gaol must be conducted in a way that is sensitive to and respectful of the child's sex or gender identity.