(1) In section 99A(3) of the Corrections Act 1986 —
(a) in paragraph (b), for "urine." substitute "urine; and";
(b) after paragraph (b) insert —
"(c) if the Secretary so directs, may be conducted or supervised by an officer within the meaning of Part 9.".
(2) After section 99A(3) of the Corrections Act 1986 insert —
"(3A) The Secretary may give a direction referred to in subsection (3)(c) if the Secretary reasonably believes that the direction is necessary to ensure the reliability and accuracy of the test.
(3B) If a test includes the taking of a sample of urine from an offender and is to be conducted or supervised by an officer in accordance with a direction referred to in subsection (3)(c), the officer must—
(a) if the offender identifies as being of a particular gender, be of that gender; or
(b) if the offender requests that the officer be of a different gender, be of that different gender.
(3C) Subsection (3B) need not be complied with if it is not practicable for the test to be conducted or supervised in accordance with that subsection.".