37 Gleeson CJ, speaking generally about the Queensland Act, said [19] that it conferred ' a substantial discretion as to whether an order should be made, and if so, the type of order'. McHugh J said [34] that the court had three discretionary choices open to it, if satisfied as required under s 13(1) (that is, if it was satisfied that the prisoner was a serious danger to the community in the absence of a protective order). These were that it might make a continuing detention order, a supervision order, or no order (see also [44]). Gummow J, on the other hand, assumed [109], without deciding, that the word 'may' in s 13(5) was used 'in a sense that requires one or the other outcome, without the possibility of declining to make either order (see Samad v District Court (NSW) [2002] HCA 24; (2002) 209 CLR 140 at 152 - 154 [31] - [38], 160 - 163 [66] - [76])'. Kirby J, dissenting, held that the legislation was invalid, and did not separately consider the issue. Hayne J also did not separately consider the issue. However, he agreed with the reasons of Gummow J, subject to one exception that is not presently material. Callinan and Heydon JJ did not expressly consider the issue. They said only [227] that, even if the court concluded that the prisoner was a serious danger to the community, it still had a discretion under s 13(5) as to the way in which the application should be disposed of as it might, for example, order that the prisoner be released from custody subject to conditions.