substitute
(1) A magistrate may order the carrying out of a forensic procedure on a child or incapable person if—
(a) consent to the carrying out of the forensic procedure cannot reasonably be obtained from—
(i) if the person is a child—the parent or guardian of the child; or
(ii) if the person is an incapable person—the parent, guardian or close associate of the incapable person; or
(b) the parent or guardian of the child or the parent, guardian or close associate of the incapable person refuses consent to the carrying out of the forensic procedure and the magistrate is satisfied that there are reasonable grounds to believe—
(i) the parent, guardian or incapable person is a suspect; and
(ii) the forensic procedure is likely to produce evidence tending to confirm or disprove that the parent, guardian or close associate committed an offence.