(1) In deciding whether to make, confirm or revoke a continuing detention order in relation to a person, a court must have regard to the following:
(a) as the paramount consideration – the need to protect:
(i) victims of serious sex offences committed, or likely to be committed, by the person; and
(ii) the victims' families; and
(iii) members of the community generally;
(b) as a secondary consideration – the desirability of providing rehabilitation, care and treatment for the person.
(2) In considering the need for protection mentioned in subsection (1)(a), the court must have regard to the following:
(a) the likelihood of the person committing another serious sex offence;
(b) whether adequate protection could reasonably be provided by making a supervision order in relation to the person.