(1) The magistrate must be satisfied on the balance of probabilities that:
(a) the person on whom the procedure is proposed to be carried out is a suspect; and
(b) on the evidence before him or her, there are reasonable grounds to believe that the suspect committed a relevant offence; and
(c) there are reasonable grounds to believe that the forensic procedure is likely to produce evidence tending to confirm or disprove that the suspect committed a relevant offence; and
(ca) if the forensic procedure has been requested by a foreign country or an international tribunal--a constable has been authorised by the Attorney - General, under the authorising provision relating to the request, to apply for an order under this Part; and
(d) the carrying out of the forensic procedure is justified in all the circumstances.
(2) In determining whether the carrying out of the forensic procedure is justified in all the circumstances, the magistrate must:
(a) if the forensic procedure has been requested by a foreign country or an international tribunal--balance the public interest in Australia providing and receiving international assistance in criminal matters against the public interest in upholding the physical integrity of the suspect; and
(b) in any other case--balance the public interest in obtaining evidence tending to confirm or disprove that the suspect committed the offence concerned against the public interest in upholding the physical integrity of the suspect.
(3) In balancing those interests, the magistrate must have regard to the following matters:
(a) the seriousness of the circumstances surrounding the commission of the relevant offence and the gravity of the relevant offence;
(b) the degree of the suspect's alleged participation in the commission of the relevant offence;
(c) the age, physical health and mental health of the suspect, to the extent that they are known to the magistrate or can reasonably be discovered by the magistrate (by asking the suspect or otherwise);
(e) if the suspect is a child or an incapable person--the welfare of the suspect;
(f) whether there is a less intrusive but reasonably practicable way of obtaining evidence tending to confirm or disprove that the suspect committed the relevant offence;
(g) if the suspect gives any reasons for refusing to consent--the reasons;
(h) if the suspect is in custody:
(i) the period for which the suspect has already been detained; and
(ii) the reasons for any delay in proposing the carrying out of the forensic procedure;
(i) any other matter considered relevant to balancing those interests.
(4) Without limiting the matters that the magistrate may take into account in considering, for the purposes of paragraph (3)(f), the intrusiveness of the forensic procedure, the magistrate must (where appropriate) take into account the religious beliefs of the suspect.