A person is authorised to carry out an intimate forensic procedure to which this part applies on a serious offender (other than a child or incapable person)—
(a) with the informed consent of the serious offender; or
(b) by order of a court under section 77 (Court order for carrying out forensic procedure on serious offender).