Commonwealth v AJL20

PDF
Word
Highlights
Notes
Overview Full Text
Details
Case Agency Issuance Number Published Date

Commonwealth v AJL20

[2021] HCA 21

Tags

Mandamus

Visa

Case

Commonwealth v AJL20

[2021] HCA 21

HIGH COURT OF AUSTRALIA

KIEFEL CJ,
GAGELER, KEANE, GORDON, EDELMAN, STEWARD AND GLEESON JJ

COMMONWEALTH OF AUSTRALIA  APPELLANT

AND

AJL20  RESPONDENT

Commonwealth of Australia v AJL20

[2021] HCA 21

Date of Hearing: 13 April 2021
Date of Judgment: 23 June 2021

C16/2020 & C17/2020

ORDER

Matter No C16/2020

1.Appeal allowed.

2. Set aside the orders made by the Federal Court of Australia on 29 September 2020 and, in their place, it be ordered that the proceeding be dismissed with costs.

3.The respondent must pay the appellant's costs of the appeal to this Court.

Matter No C17/2020

1.Appeal allowed.

2. Set aside the orders made by the Federal Court of Australia on 11 September 2020 and, in their place, it be ordered that the application filed in the Federal Circuit Court of Australia on 12 May 2020 and transferred to the Federal Court of Australia on 27 May 2020 be dismissed with costs.

3.The respondent must pay the appellant's costs of the appeal to this Court.

Representation

S P Donaghue QC, Solicitor-General of the Commonwealth, with G R Kennett SC, C J Tran and N A Wootton for the appellant and for the Attorney-General of the Commonwealth, intervening (instructed by Australian Government Solicitor)

J T Gleeson SC with N M Wood and J E Hartley for the respondent (instructed by Human Rights for All)

Notice:  This copy of the Court's Reasons for Judgment is subject to formal revision prior to publication in the Commonwealth Law Reports.

CATCHWORDS

Commonwealth of Australia v AJL20

Constitutional law (Cth) – Immigration – Tort – False imprisonment – Where respondent "unlawful non-citizen" detained by Executive under ss 189(1) and 196(1) of Migration Act 1958 (Cth) – Whether period of executive detention authorised and required by ss 189(1) and 196(1) ceases when removal of "unlawful non-citizen" from Australia should have occurred had Executive acted with all reasonable despatch in performance of s 198(6) duty to remove, or continues until actual event of removal or grant of visa – Whether Parliament's power to authorise and require detention until actual event of removal or grant of visa limited by implications of Ch III of Constitution – Whether non-performance by Executive of statutory duties erases legitimate non-punitive statutory purposes which those duties support.

Words and phrases – "aliens", "deportation", "duty to remove", "exclusive vesting of the judicial power of the Commonwealth", "executive detention", "executive power", "executive purpose", "false imprisonment", "habeas corpus", "hedging duty", "judicial power", "lawful non-citizen", "legitimate non-punitive purposes", "Lim principle", "mandamus", "non-refoulement", "Parliamentary supremacy", "reading down", "removal", "remove as soon as reasonably practicable", "separation of powers", "statutory duty", "statutory purposes", "terminating events", "unlawful non-citizen", "visa".

Constitution, s 51(xix), Ch III.
Migration Act1958 (Cth), ss 4, 13, 14, 189, 196, 197C, 198.

  1. KIEFEL CJ, GAGELER, KEANE AND STEWARD JJ. The respondent is a Syrian citizen, who arrived in Australia in May 2005 as the holder of a child visa. On 2 October 2014, the then Minister for Immigration and Border Protection ("the Minister") cancelled the respondent's child visa on character grounds under s 501(2) of the Migration Act 1958 (Cth) ("the Act"). Having become an "unlawful non‑citizen" in consequence of the cancellation of his visa, the respondent was detained on 8 October 2014, as required by s 189(1) of the Act.

  2. The respondent remained in immigration detention until he was released from detention into the community pursuant to the order of the primary judge (Bromberg J) made on 11 September 2020 on the footing that the respondent's continuing detention was unlawful. His Honour held that, because the Executive had not removed the respondent from Australia "as soon as reasonably practicable" in accordance with s 198(6) of the Act, his detention was not for the purpose of removal from Australia and was therefore unlawful. The circumstance that the failure of duty on the part of the Executive was explicable by its desire to comply with Australia's non-refoulement obligations was, by virtue of s 197C, no justification for that failure[1].

    [1]AJL20 v The Commonwealth [2020] FCA 1305 at [95]-[99], [123]; see also DMH16 v Minister for Immigration and Border Protection (2017) 253 FCR 576 at 581 [26].

  3. In this Court, the Commonwealth contended that the respondent's detention under s 189(1) was lawful because it was authorised and, indeed, required by s 196(1) of the Act. The respondent argued to the contrary that s 196(1) does not authorise the Executive to detain an unlawful non-citizen where its officers have failed to remove the unlawful non‑citizen from Australia as soon as reasonably practicable. The respondent contended that, as the primary judge held[2], this construction of the Act was compelled by the need to observe the constitutional limitations on the Commonwealth's legislative power to authorise detention by the Executive.

    [2]AJL20 v The Commonwealth [2020] FCA 1305 at [17], [34(d)], [44], [75].

  4. Almost two decades ago in NAES v Minister for Immigration and Multicultural and Indigenous Affairs[3], Beaumont J rejected an application for habeas corpus in circumstances materially the same as the present case. Beaumont J, following the construction of ss 196(1) and 198 adopted by French J (as his Honour then was) in WAIS v Minister for Immigration and Multicultural and Indigenous Affairs[4], held that the operation of ss 189(1) and 196(1) in authorising the applicant's detention was not conditioned on the actual achievement of removal of the unlawful non‑citizen as soon as reasonably practicable by the Executive. On that footing, an order mandating compliance by the Executive with the duty imposed by s 198 was, as Beaumont J explained, the appropriate remedy for non‑compliance with s 198 of the Act. Such an order would give effect to the statutory scheme, whereas an order for the release of an unlawful non‑citizen into the community would undermine it.

    [3][2003] FCA 2 at [11]‑[15].

    [4][2002] FCA 1625 at [56].

  5. The approach taken by Beaumont J was correct 18 years ago and remains correct today. There is no room for any doubt that the interpretation of ss 196(1) and 198 that his Honour adopted, and that was applied again more recently by the Full Court of the Federal Court (Robertson, Griffiths and Bromwich JJ) in ASP15 v The Commonwealth[5], faithfully reflects the intention of the Act. No constitutional imperative requires departure from it. The primary judge erred in thinking otherwise.

    [5](2016) 248 FCR 372 at 382‑383 [40]‑[42].

    The proceedings

  6. After the respondent was detained in October 2014, he made a number of applications for a protection visa. These applications were, however, refused on character grounds under s 501(1) of the Act. On 25 July 2019, following representations made on his behalf, the Minister refused to consider granting the respondent a visa under s 195A of the Act.

  7. On 4 November 2019, the respondent commenced proceedings in the Federal Court of Australia seeking damages in respect of his alleged false imprisonment by the Commonwealth since 26 July 2019 ("the compensation proceeding"). On 12 May 2020, the respondent commenced a further proceeding in the Federal Circuit Court of Australia seeking what was described as "an order in the nature of a writ of habeas corpus" ("the specific relief proceeding"). The specific relief proceeding was transferred to the Federal Court on 27 May 2020.

  8. In this Court, it was expressly conceded by the Commonwealth that, as the primary judge found, the respondent had not been removed from Australia "as soon as reasonably practicable" as required by s 198(6) of the Act. The primary judge's finding in this regard was, in part, based on the circumstance that officers of what is now the Department of Home Affairs had formed the view that to remove the respondent to Syria would place Australia in breach of its international non‑refoulement obligations[6]. By reason of s 197C of the Act, that consideration was irrelevant to whether it was reasonably practicable that the respondent be removed from Australia. This circumstance aside, the primary judge's finding was also based on findings of fact that the Executive could and should have done more to expedite the respondent's removal from Australia1[7].

    [6]AJL20 v The Commonwealth [2020] FCA 1305 at [10].

    [7]AJL20 v The Commonwealth [2020] FCA 1305 at [105]‑[171].

  9. Following the making of an order in the specific relief proceeding on 11 September 2020 that the respondent be released forthwith, on 29 September 2020 the primary judge made a declaration in the compensation proceeding that the respondent's detention since 26 July 2019 was unlawful. The damages recoverable by the respondent were to be assessed separately[8].

    [8]AJL20 v The Commonwealth [2020] FCA 1305 at [173].

  10. In each proceeding, the Commonwealth appealed to the Full Court of the Federal Court, contending that the primary judge erred in concluding that ss 189(1) and 196(1) of the Act did not authorise the respondent's detention. Upon the application of the Attorney‑General of the Commonwealth, each appeal to the Full Court was removed into this Court pursuant to s 40 of the Judiciary Act 1903 (Cth).

  11. It is convenient now to set out the relevant provisions of the Act, and to note this Court's settled view of the constitutional validity and proper construction of these provisions and their predecessors in order to lay the ground for a consideration of the reasons of the primary judge and the arguments advanced by the respondent in their support.

    The Act

  12. Section 4(1) states that the object of the Act is to "regulate, in the national interest, the coming into, and presence in, Australia of non-citizens". Section 4(2) states that, to "advance its object", the Act "provides for visas permitting non-citizens to enter or remain in Australia and the Parliament intends that this Act be the only source of the right of non-citizens to so enter or remain". Section 4(4) further states that, to "advance its object", the Act "provides for the removal ... from Australia of non-citizens whose presence in Australia is not permitted by this Act".

  13. Section 14 provides that an "unlawful non-citizen" is a non-citizen who is in the "migration zone" (in broad terms, Australia[9]) and is not a "lawful non-citizen". Section 13 provides that a "lawful non-citizen" is a non-citizen who is in the "migration zone" and holds an effective "visa". A visa provides permission to enter or remain in Australia[10].

    [9]See the Act, s 5(1).

    [10]The Act, s 29.

  14. The dichotomy between lawful non‑citizens and unlawful non‑citizens is fundamental to the scheme of ss 189, 196 and 198 of the Act whereby an unlawful non‑citizen is not at liberty to enter the Australian community. As Hayne J said in Plaintiff M47/2012 v Director‑General of Security[11]:

    "The Act provides no middle ground between being a lawful non-citizen (entitled to remain in Australia in accordance with any applicable visa requirements) and being an unlawful non-citizen, who may, usually must, be detained and who (assuming there is no pending consideration of a valid visa application) must be removed from Australia as soon as reasonably practicable."

    [11](2012) 251 CLR 1 at 78 [178].

  15. To this end, s 189(1) of the Act authorises and requires the Executive to detain unlawful non-citizens. It provides:

    "If an officer knows or reasonably suspects that a person in the migration zone ... is an unlawful non-citizen, the officer must detain the person."

  16. Read with the definition of "detain" in s 5(1) of the Act, s 189(1) has two distinct and sequential operations. First, it authorises and requires a person in the migration zone to be taken into immigration detention by an officer who knows or reasonably suspects that the person is an unlawful non-citizen. Secondly, it authorises and requires the person, having been taken into immigration detention, to be kept in immigration detention by or at the direction of an officer who knows or reasonably suspects that the person is an unlawful non-citizen.

  17. Section 196 governs the period for which a person taken into immigration detention is to be kept in immigration detention under s 189(1) by or at the direction of an officer who knows or reasonably suspects that the person is an unlawful non-citizen. It provides relevantly:

    "(1)An unlawful non-citizen detained under section 189 must be kept in immigration detention until:

    (a)he or she is removed from Australia under section 198 or 199; or

    (aa)an officer begins to deal with the non-citizen under subsection 198AD(3); or

    (b)      he or she is deported under section 200; or

    (c)      he or she is granted a visa.

    (2)To avoid doubt, subsection (1) does not prevent the release from immigration detention of a citizen or a lawful non‑citizen.

    (3)To avoid doubt, subsection (1) prevents the release, even by a court, of an unlawful non-citizen from detention (otherwise than as referred to in paragraph (1)(a), (aa) or (b)) unless the non-citizen has been granted a visa.

    ...

    (6)      This section has effect despite any other law.

    (7)      In this section:

    visa decision means a decision relating to a visa (including a decision not to grant the visa, to cancel the visa or not to reinstate the visa)."

  18. The authority and duty to detain an unlawful non‑citizen pursuant to s 189(1) for the period specified in s 196(1) is attended by an obligation on the Executive to effect the removal of an unlawful non‑citizen "as soon as reasonably practicable". This obligation is contained in s 198, which relevantly provides:

    "Removal on request

    (1)An officer must remove as soon as reasonably practicable an unlawful non-citizen who asks the Minister, in writing, to be so removed.

    ...

    Removal of unlawful non-citizens in other circumstances

    ...

    (6)An officer must remove as soon as reasonably practicable an unlawful non-citizen if:

    (a)the non-citizen is a detainee; and

    (b)the non-citizen made a valid application for a substantive visa that can be granted when the applicant is in the migration zone; and

    (c)      one of the following applies:

    (i)the grant of the visa has been refused and the application has been finally determined;

    (ii)      the visa cannot be granted; and

    (d)the non-citizen has not made another valid application for a substantive visa that can be granted when the applicant is in the migration zone."

  19. Section 197C was inserted into the Act to overcome decisions which had interpreted s 198 to the effect that it did not require the removal of an unlawful non-citizen where the removal would place Australia in breach of its non-refoulement obligations[12]. At the material time, s 197C provided:

    "(1)For the purposes of section 198, it is irrelevant whether Australia has non-refoulement obligations in respect of an unlawful non-citizen.

    (2)An officer's duty to remove as soon as reasonably practicable an unlawful non-citizen under section 198 arises irrespective of whether there has been an assessment, according to law, of Australia's non-refoulement obligations in respect of the non-citizen."

    The course of authority

    [12]Plaintiff M70/2011 v Minister for Immigration and Citizenship (2011) 244 CLR 144; Minister for Immigration and Citizenship v SZQRB (2013) 210 FCR 505. See Australia, House of Representatives, Migration and Maritime Powers Legislation Amendment (Resolving the Asylum Legacy Caseload) Bill 2014, Explanatory Memorandum at 165-166 [1135]‑[1140].

    The power of the Parliament

  20. Section 51(xix) of the Constitution empowers the Commonwealth Parliament to make laws with respect to aliens and immigration. It is uncontroversial that this power includes the making of laws restricting the entry into the Australian community of aliens who have not been given permission to enter under Australian law and providing for the removal of such persons. In Chu Kheng Lim v Minister for Immigration, Local Government and Ethnic Affairs, Gaudron J said[13]:

    "Aliens, not being members of the community that constitutes the body politic of Australia, have no right to enter or remain in Australia unless such right is expressly granted. Laws regulating their entry to and providing for their departure from Australia (including deportation, if necessary) are directly connected with their alien status."

    [13](1992) 176 CLR 1 at 57.

  21. It has long been recognised that a law that provides for the executive detention of an alien, in order to prevent unauthorised entry into the Australian community or to facilitate removal from Australia, is also within the scope of s 51(xix). In Koon Wing Lau v Calwell[14], Latham CJ, with whom McTiernan J agreed, discussing a challenge to the constitutional validity of a measure that provided for the detention of certain aliens pending deportation, said:

    "It is contended that [the measure] is invalid because it permits unlimited imprisonment. Any deprivation of liberty must be shown to be authorized by law before it can be justified. But deportation legislation is a necessary element in the control of immigration into a country. 'The power to deport', Barton J said in Robtelmes v Brenan[15]., 'is the complement of the power to exclude.' Deportation under legislation of this character, whether it is regarded as legislation relating to aliens or legislation relating to immigration, is not imposed as punishment for being an alien or for being an immigrant: Ex parte Walsh and Johnson; In re Yates[16]."

    [14](1949) 80 CLR 533 at 555; see also Falzon v Minister for Immigration and Border Protection (2018) 262 CLR 333 at 358 [92].

    [15](1906) 4 CLR 395.

    [16](1925) 37 CLR 36: see at 60, 96.

  22. The amplitude of the legislative power conferred by s 51(xix) is qualified by the implications of Ch III of the Constitution, involuntary detention being ordinarily within the exclusive province of the courts. In Lim[17], Brennan, Deane and Dawson JJ (Gaudron J relevantly agreeing) held that, exceptional cases aside, "the involuntary detention of a citizen in custody by the State is penal or punitive in character and ... exists only as an incident of the exclusively judicial function of adjudging and punishing criminal guilt". However, as their Honours explained[18], one such exceptional case, in which "authority to detain ... can be conferred on the Executive [by the Parliament] without infringement of Ch III's exclusive vesting of the judicial power of the Commonwealth in the courts which it designates", is:

    "authority to detain (or to direct the detention of) an alien in custody for the purposes of expulsion or deportation ... [including] authority to detain an alien in custody, when conferred in the context and for the purposes of executive powers to receive, investigate and determine an application by that alien for an entry permit and (after determination) to admit or deport".

    [17](1992) 176 CLR 1 at 27.

    [18]Chu Kheng Lim v Minister for Immigration, Local Government and Ethnic Affairs (1992) 176 CLR 1 at 32.

  23. Their Honours went on to hold that the predecessors of ss 189, 196(1) and 198 fell within this exception to the Ch III limitation on the power of the Parliament to authorise executive detention because "the detention which they require and authorize is limited to what is reasonably capable of being seen as necessary for the purposes of deportation or necessary to enable an application for an entry permit to be made and considered"[19]. The authority to detain conferred on the Executive by s 54L(1) and (2), the predecessor of ss 189(1) and 196(1), was characterised as an incident of the power to exclude, admit and deport non‑citizens[20], and was unanimously upheld as valid by the Court.

    [19]Chu Kheng Lim v Minister for Immigration, Local Government and Ethnic Affairs (1992) 176 CLR 1 at 33.

    [20]Chu Kheng Lim v Minister for Immigration, Local Government and Ethnic Affairs (1992) 176 CLR 1 at 33.

  1. Similarly, in Re Woolley; Ex parte Applicants M276/2003[21], Gleeson CJ, in a passage cited with approval by Crennan, Bell and Gageler JJ in Plaintiff M76/2013 v Minister for Immigration, Multicultural Affairs and Citizenship[22], explained that until the completion of the steps that terminate the period of detention of a non‑citizen required and authorised by the Act, "the non‑citizen has no legal right to enter the community, and a law providing for detention during the process of decision‑making is not punitive in nature".

    [21](2004) 225 CLR 1 at 14 [26].

    [22](2013) 251 CLR 322 at 369‑370 [139].

  2. Whether a law authorising or requiring detention is reasonably capable of being seen as necessary for the purpose of segregation pending receipt, investigation and determination of any visa application or removal of an unlawful non‑citizen depends on the connection between the detention and segregation or removal. In Al‑Kateb v Godwin[23], McHugh J explained:

    "A law requiring the detention of the alien takes its character from the purpose of the detention. As long as the purpose of the detention is to make the alien available for deportation or to prevent the alien from entering Australia or the Australian community, the detention is non‑punitive. The Parliament of the Commonwealth is entitled, in accordance with the power conferred by s 51(xix) and without infringing Ch III of the Constitution, to take such steps as are likely to ensure that unlawful non‑citizens do not enter Australia or become part of the Australian community and that they are available for deportation when that becomes practicable."

    [23](2004) 219 CLR 562 at 584 [45].

  3. The correctness of the constitutional holding in Al‑Kateb, that ss 189, 196 and 198 are valid insofar as they authorise and require detention of an unlawful non-citizen even where removal is not reasonably practicable in the foreseeable future, does not arise for consideration in the present case.

  4. In Plaintiff S4/2014 v Minister for Immigration and Border Protection[24], French CJ, Hayne, Crennan, Kiefel and Keane JJ referred to Lim, and went on to say that:

    "[D]etention under and for the purposes of the Act is limited by the purposes for which the detention is being effected. And it further follows that, when describing and justifying detention as being under and for the purposes of the Act, it will always be necessary to identify the purpose for the detention. Lawfully, that purpose can only be one of three purposes: the purpose of removal from Australia; the purpose of receiving, investigating and determining an application for a visa permitting the alien to enter and remain in Australia; or, in a case such as the present, the purpose of determining whether to permit a valid application for a visa."

    [24](2014) 253 CLR 219 at 231 [26]; see also Plaintiff M76/2013 v Minister for Immigration, Multicultural Affairs and Citizenship (2013) 251 CLR 322 at 370 [140].

  5. It is because the detention mandated by s 189(1) of the Act is temporally constrained by s 196(1) that the detention is capable of being seen as necessary for execution of the legitimate non‑punitive purposes of segregation pending receipt, investigation and determination of any visa application or removal. In Plaintiff S4, their Honours said[25]:

    "Section 196(1) prescribes the duration of immigration detention. It provides that an unlawful non-citizen must be kept in immigration detention until the happening of one of four events: removal from Australia under s 198 or s 199; an officer beginning the process under s 198AD(3) for removal to a regional processing country; deportation under s 200; or the grant of a visa. Of those four events, it is the first – removal from Australia under s 198(2) – which fixed the outer limit to the plaintiff's detention. ...

    [I]f none of the [last] three events [mentioned in s 196(1)] occurred, removal under s 198(2) had to occur 'as soon as reasonably practicable' (emphasis added).

    The duration of the plaintiff's lawful detention under the Act was thus ultimately bounded by the Act's requirement to effect his removal as soon as reasonably practicable. It was bounded in this way because the requirement to remove was the only event terminating immigration detention which, all else failing, must occur."

    [25](2014) 253 CLR 219 at 232‑233 [30], [32]‑[33].

  6. Their Honours had earlier said that[26]:

    "The duration of any form of detention, and thus its lawfulness, must be capable of being determined at any time and from time to time. Otherwise, the lawfulness of the detention could not be determined and enforced[27] by the courts, and, ultimately, by this Court."

    [26]Plaintiff S4/2014 v Minister for Immigration and Border Protection (2014) 253 CLR 219 at 232 [29].

    [27]Crowley's Case (1818) 2 Swans 1 at 61 [36 ER 514 at 531].

  7. In Plaintiff M96A/2016 v The Commonwealth[28], Kiefel CJ, Bell, Keane, Nettle, Gordon and Edelman JJ said that, by this last observation in Plaintiff S4, it had been meant that "there must be objectively determinable criteria for detention". Their Honours explained that this second limitation on the amplitude of the Parliament's power to authorise executive detention flows from the need to ensure that[29]:

    "Parliament cannot avoid judicial scrutiny of the legality of detention by [legislating] criteria which are too vague to be capable of objective determination. This would include an attempt to make the length of detention at any time dependent upon the unconstrained, and unascertainable, opinion of the Executive[30]."

    [28](2017) 261 CLR 582 at 597 [31].

    [29]Plaintiff M96A/2016 v The Commonwealth (2017) 261 CLR 582 at 597 [31].

    [30]Australian Communist Party v The Commonwealth (1951) 83 CLR 1 at 258.

  8. In Plaintiff M96A[31], the plurality concluded that ss 189(1) and 196(1) did not exceed the Parliament's power on this basis because:

    "The duration of the detention of transitory persons who are detained under s 189 of the Act is able to be objectively determined at any time, and from time to time. At any time it can be concluded that detention in Australia will conclude if any of the various preconditions [in s 196(1)] are met."

    [31](2017) 261 CLR 582 at 597 [32].

  9. To similar effect, Gageler J said[32]:

    "[T]he duration of the detention is capable of objective determination by a court at any time and from time to time. From the moment of the commencement of the detention under s 189, duration of the detention is made by s 196(1)(a) and (aa) to depend on performance of the duty to remove imposed by s 198(1A) or by s 198AD(2)."

    [32]Plaintiff M96A/2016 v The Commonwealth (2017) 261 CLR 582 at 600 [45].

    The application of the Act

  10. The nature of the duty to detain imposed by s 189(1) of the Act was explained by Hayne J (McHugh and Heydon JJ relevantly agreeing) in Al-Kateb[33]:

    "[T]he provision is mandatory; the legislature requires that persons of the identified class be detained and kept in detention. No discretion must, or even can, be exercised. No judgment is called for. The only disputable question is whether the person is an unlawful non-citizen."

    [33](2004) 219 CLR 562 at 647 [254].

  11. The duration of the detention required and authorised by s 196(1) is, as Hayne J said in Al-Kateb[34], "fixed by reference to the occurrence of any of [the four] specified events. Detention must continue 'until' one of those events occurs."

    [34](2004) 219 CLR 562 at 638 [226]. See also Plaintiff M96A/2016 v The Commonwealth (2017) 261 CLR 582 at 593 [19]; Plaintiff S4/2014 v Minister for Immigration and Border Protection (2014) 253 CLR 219 at 232‑233 [30].

  12. The combined effect of ss 189(1) and 196(1) is that a non‑citizen can be lawfully within the Australian community only if he or she has been granted a visa[35]. Otherwise, an unlawful non‑citizen must be detained until such time as he or she departs Australia by one of the means referred to in s 196(1), relevantly in this case removal under s 198. That removal is to be effectuated by the performance of the duty that s 198(6) places on officers of the Commonwealth to remove "as soon as reasonably practicable". This view of the relationship between s 196 and s 198 has consistently been accepted and applied in the Federal Court[36].

    [35]Subject to Love v The Commonwealth (2020) 94 ALJR 198; 375 ALR 597.

    [36]WAIS v Minister for Immigration and Multicultural and Indigenous Affairs [2002] FCA 1625 at [46]‑[49]; NAES v Minister for Immigration and Multicultural and Indigenous Affairs [2003] FCA 2 at [6]‑[7]; SHFB v Minister for Immigration and Multicultural and Indigenous Affairs [2003] FCA 29 at [10], [12]‑[13]; SHFB v Goodwin [2003] FCA 294 at [8]‑[12], [23]‑[25]; NAGA v Minister for Immigration and Multicultural and Indigenous Affairs [2003] FCA 224 at [10]‑[11], [64]; Daniel v Minister for Immigration and Multicultural and Indigenous Affairs (2003) 196 ALR 52 at 57 [15]‑[16], 63 [36]; CMA19 v Minister for Home Affairs [2020] FCA 736 at [225]‑[232].

  13. Similarly, with respect to the relationship between s 196 and the duty to grant or refuse a visa under s 65 in a reasonable time, in ASP15[37] the Full Court held that:

    "It follows that once a valid visa application has been made, unless and until a decision is made either to grant or refuse a visa, detention is authorised and required by s 196(1). This conclusion is consistent with the binding authority of Al-Kateb as to the nature of lawful detention and the meaning of s 196(1). ... Such detention does not cease to be for the purpose of considering and determining an application for a visa because the necessary process has not been completed within the time required by the Migration Act, be that time period express or implied. If in fact a court determines that the process to make a visa decision has gone on for too long, it nonetheless remains detention for that purpose and is both validly authorised and required by s 196(1) of the Migration Act. The normal remedy is court action to compel a visa decision to be made, one way or the other."

    [37](2016) 248 FCR 372 at 382-383 [40].

  14. Bearing on each of the two steps in the reasoning of the primary judge now to be considered, the Full Court in ASP15 continued[38]:

    "Nor does any question of inconsistency with Ch III of the Constitution of the Commonwealth arise. Detention while a visa application is being considered does not deprive that detention of its statutory purpose because a reasonable time to make a decision about a visa in furtherance of that purpose has been exceeded.

    ... The regime for immigration detention is valid for the purposes of making a visa decision precisely because it imposes an obligation on the Minister to make that decision within whatever time limit applies; detention only remains valid so long as such a purpose under the Migration Act continues to exist. In the case of detention pending a visa decision, failure to do so within the required time renders the Minister liable to the issue of a writ of mandamus to compel him or her to perform their statutory duty. However it does not render invalid the provision which authorises detention in the first place. So long as the Migration Act validly continues to authorise detention, there can be no claim for false imprisonment or habeas corpus." (emphasis in original)

    [38](2016) 248 FCR 372 at 383 [41]-[42].

    The reasons of the primary judge

  15. The primary judge found that the Commonwealth had failed to remove the respondent "as soon as reasonably practicable" as required by s 198[39], and proceeded to hold that this failure by officers of the Executive involved a "departure from the requisite removal purpose for [the respondent's] detention"[40]. On that footing, the primary judge proceeded to the conclusion that the detention of the respondent was no longer for the purpose of removal and was therefore unlawful[41].

    [39]AJL20 v The Commonwealth [2020] FCA 1305 at [123]-[125], [170].

    [40]AJL20 v The Commonwealth [2020] FCA 1305 at [128], [171].

    [41]AJL20 v The Commonwealth [2020] FCA 1305 at [75], [128], [171].

  16. The primary judge's reasoning involved two steps that are in controversy. First, his Honour read down s 196(1) by treating the period of detention to which it refers as dependent not upon the existence of the duty to remove as soon as reasonably practicable in s 198(6), but upon the performance of that duty in fact by the Executive. His Honour considered this reading down of s 196(1) to be necessary to preserve its constitutional validity. Secondly, his Honour concluded that non‑compliance by the Executive with s 198(6) gave rise to a "departure" from the purpose of the detention authorised and required by ss 189(1) and 196(1), so that thereafter the detention of the respondent by the Executive was no longer for the purpose of his removal.

  17. The primary judge then proceeded to hold that "an order in the nature of a writ of habeas corpus" requiring the respondent's release was necessary to "remediate [his] unlawful detention" and maintain the rule of law[42]. His Honour considered that an order of this kind was not rendered inutile because s 189(1) of the Act would require the respondent to be immediately re‑detained. His Honour took that view because, in the proceedings before him, the Commonwealth maintained its adherence to a policy of non‑refoulement in relation to the respondent despite the terms of s 197C. That being so, his Honour considered that s 189(1) would not authorise the respondent's re‑detention because, by reason of the Executive's erroneous adherence to this policy, any further detention would continue not to be for the purpose of his removal[43].

    [42]AJL20 v The Commonwealth [2020] FCA 1305 at [72]‑[73], [174]-[175].

    [43]AJL20 v The Commonwealth [2020] FCA 1305 at [175].

  18. For the reasons that follow, the steps by which the learned primary judge reasoned to his conclusion are flawed.

    Step 1: Reading down s 196(1)

  19. The primary judge approached the construction of s 196 of the Act "in light of the constitutional constraints upon administrative detention which flow from Chapter III of the Constitution ... which provides for the separation of judicial power from the executive and legislative powers"[44]. In his Honour's view, endorsed by the respondent on appeal, the scheme of immigration detention could not, given the implications of Ch III, validly be enacted by the Parliament under s 51(xix) of the Constitution save where the Executive could be shown in any particular case to perform its obligations to remove the detainee as soon as reasonably practicable. This approach conflated questions of constitutional validity with questions of statutory interpretation, and questions concerning the purpose of the Act with questions concerning the purpose of the officers of the Executive bound by it. It was also contrary to the clear course of authority.

    [44]AJL20 v The Commonwealth [2020] FCA 1305 at [17].

    The constitutional and statutory questions

  20. When the Executive executes a statute of the Commonwealth, as opposed to exercising its common law prerogatives and capacities[45] or whatever authority is inherent in s 61 of the Constitution[46], the constitutional question is whether the statutory authority conferred on the Executive is within the competence of the Parliament; the statutory question is whether the executive action in question is authorised by the statute. If the statute, properly construed, can be seen to conform to constitutional limitations upon legislative competence without any need to read it down to save its validity[47], then it is valid in all its applications, and no further constitutional issue arises. The question then is whether the executive action in question was authorised by the statute, with that question to be resolved by reference to the statute as a matter of administrative law[48]. As French CJ, Gummow, Hayne, Crennan and Bell JJ said in Wotton v Queensland[49]:

    "[I]f, on its proper construction, the statute complies with the constitutional limitation, without any need to read it down to save its validity, any complaint respecting the exercise of power thereunder in a given case ... does not raise a constitutional question, as distinct from a question of the exercise of statutory power."

    [45]See Davis v The Commonwealth (1988) 166 CLR 79 at 108; Williams v The Commonwealth [No 2] (2014) 252 CLR 416.

    [46]See Pape v Federal Commissioner of Taxation (2009) 238 CLR 1.

    [47]See Federal Commissioner of Taxation v Munro (1926) 38 CLR 153 at 180; Acts Interpretation Act 1901 (Cth), s 15A and its State and Territory equivalents.

    [48]Wotton v Queensland (2012) 246 CLR 1 at 9‑10 [10], 13‑14 [21], [24], 29‑30 [74]. See also Comcare v Banerji (2019) 267 CLR 373 at 405‑406 [44], 421‑422 [96]; Palmer v Western Australia (2021) 95 ALJR 229 at 245 [65], 254 [118]‑[120], 270-271 [200]‑[202], 274 [224]; 388 ALR 180 at 196, 208, 229-230, 234.

    [49](2012) 246 CLR 1 at 14 [22]; see also Palmer v Western Australia (2021) 95 ALJR 229 at 245 [64]-[68], 255 [127], 270-271 [201]-[202], 275 [226], 276 [230]‑[231]; 388 ALR 180 at 196-197, 210, 229-230, 235, 236-237.

  21. As has been noted, it is well‑settled that the Act does not permit detention of a non-citizen for purposes unconnected with entry into, or exclusion or removal from, the community. The detention authorised by ss 189(1) and 196(1) of the Act is reasonably capable of being seen as necessary for the legitimate non-punitive purposes of segregation pending investigation and determination of any visa application or removal[50]. This is because the authority and obligation of the Executive to detain unlawful non-citizens is hedged about by enforceable duties, such as that in s 198(6), that give effect to legitimate non-punitive purposes. Upon performance of these duties, the detention is brought to an end.

    [50]Chu Kheng Lim v Minister for Immigration, Local Government and Ethnic Affairs (1992) 176 CLR 1 at 17, 29, 32‑34, 36, 38; Al‑Kateb v Godwin (2004) 219 CLR 562 at 584‑586 [45]‑[48], 650‑651 [266]‑[267], 658 [289], 660‑661 [295]; Re Woolley; Ex parte Applicants M276/2003 (2004) 225 CLR 1 at 31‑32 [72]‑[73], 75‑77 [222]‑[228], 85‑86 [264].

  22. As was explained in Plaintiff M96A, the existence of these hedging duties also means that the duration, and thus lawfulness, of the detention authorised by the Act is capable of determination from time to time[51]. It is because these duties are enforceable that "the length of detention [is not] at any time dependent upon the unconstrained, and unascertainable, opinion of the Executive"[52]. Accordingly, ss 189(1) and 196(1) are valid. There is no need to read them down to save their validity. They are valid in all their potential applications. As has been observed, it is because the duration of the detention of an unlawful non‑citizen must end, either upon the grant of a visa or upon the removal of the non‑citizen from Australia, that immigration detention under the Act is not punishment within the exclusive province of judicial power. That is so because the terms of the Act circumscribe the purposes of detention of an unlawful non‑citizen so that they do not include punishment. The purposes of the Act, and the consequent validity of the Act, cannot be set at nought by the intents or purposes of the officers of the Executive whose duty it is to enforce the Act.

    [51](2017) 261 CLR 582 at 597 [32], 600 [45].

    [52]Compare Plaintiff M96A/2016 v The Commonwealth (2017) 261 CLR 582 at 597 [31].

  23. Accordingly, there was no warrant for the primary judge to hold that, in order to preserve its constitutional validity, "it is not possible to read the directive in s 196(1)(a) as authorising detention 'until' the fact or the event of the removal of the detainee from Australia"[53]. There is likewise no constitutional need to read the words "until ... he or she is removed from Australia" as referring "not to the fact of removal but to the time and effort necessary, as a matter of reasonable practicability, to effectuate the purpose of detention"[54] such that the period of detention authorised under s 196 ceases to be authorised when removal should have occurred had officers of the Executive acted with all reasonable despatch[55].

    [53]AJL20 v The Commonwealth [2020] FCA 1305 at [44]-[45].

    [54]AJL20 v The Commonwealth [2020] FCA 1305 at [45].

    [55]AJL20 v The Commonwealth [2020] FCA 1305 at [89].

  1. The primary judge noted[56] that the plurality in Plaintiff M96A[57] said, in relation to the event listed in s 196(1)(a), that "it is a condition that removal must occur as soon as reasonably practicable". His Honour took this statement to support the view that the detention of an unlawful non‑citizen ceases to be authorised by the Act immediately, where there has been a delay in the Executive's performance of the duty imposed by s 198. The respondent sought to rely upon the reasoning of Brennan, Deane and Dawson JJ in Lim[58] in support of much the same proposition. The respondent's contention was to the effect that only where the Executive properly performs the duties that establish the legitimate non‑punitive purposes of the Act can the unlawful non-citizen's detention ordained by the Parliament be reasonably capable of being seen as necessary for legitimate non‑punitive purposes.

    [56]AJL20 v The Commonwealth [2020] FCA 1305 at [48].

    [57](2017) 261 CLR 582 at 593 [20].

    [58](1992) 176 CLR 1 at 33‑36.

  2. Neither Plaintiff M96A nor Lim suggests that the operation of s 189(1) is conditioned upon s 198(6) in this manner, either as a matter of ordinary construction or in order to preserve its constitutional validity. When read in the context of the observation that "detention in Australia will conclude if any of the various preconditions [in s 196(1)] are met"[59], the statement of the plurality in Plaintiff M96A does not suggest that the authority and duty to detain imposed by s 189(1) disappears immediately upon delay in the performance of the hedging duty in s 198(6). Nor can one discern in, or attribute to, the plurality's statement in Plaintiff M96A or the reasoning in Lim (or the passages in Plaintiff S4 to which reference has been and will be made) any adherence to the heresy that, where a law is within the Parliament's competence because of the imposition of duties on officers of the Executive, delay in performance of those duties by those officers can take the law outside Parliament's competence. A failure by the Executive diligently to perform the duties that give effect to the legitimate non-punitive purposes for which detention is authorised and required by the Act erases neither those duties nor the statutory purposes which those duties support. Were it otherwise, the supremacy of the Parliament over the Executive would be reversed and the rule of law subverted[60].

    [59]Plaintiff M96A/2016 v The Commonwealth (2017) 261 CLR 582 at 597 [32].

    [60]See Dicey, Introduction to the Study of the Law of the Constitution, 10th ed (1959) at 202-203; Australian Communist Party v The Commonwealth (1951) 83 CLR 1 at 193.

    Detention until removal

  3. As has been seen, it is well‑settled that the detention authorised by s 189(1) must continue until the first occurrence of a terminating event specified in s 196(1). The text of s 196(1) is clear: a person detained under s 189 "must be kept in immigration detention until", relevantly, "he or she is removed from Australia under section 198". The word "until", used in its ordinary sense of "up to the time"[61] and in conjunction with the word "kept", refers to an ongoing or continuous state of affairs that is to be maintained up to the time that the event (relevantly, the grant of a visa or removal) actually occurs. As much is confirmed by s 196(3), to which the primary judge did not refer, in its provision that an unlawful non‑citizen may be "release[d]" from detention only in the ways set out in s 196(1). In so providing, s 196 gives effect to the binary division drawn by the Act between lawful non‑citizens, who may be at liberty in the community, and unlawful non‑citizens, who must not be. Thus, as was explained by Hayne J in Plaintiff M76[62]:

    "The requirement of s 196(1) that an unlawful non‑citizen detained under s 189 must be kept in immigration detention 'until' the happening of one of [the four terminating events prescribed by s 196(1)] cannot be construed as using the word 'until' in some purposive sense. One of the terminating events is the grant of a visa and it is not to be supposed that detention could be for the purpose of granting the person detained a visa. It thus follows that the word 'until' must be read in s 196(1) as fixing the end of detention, not as fixing the purpose or purposes for which detention is or may be effected."

    [61]Oxford English Dictionary, 2nd ed (1989), vol 19 at 234, Meaning 5(a): "Onward till (a time specified or indicated); up to the time of (an action, occurrence, etc)".

    [62](2013) 251 CLR 322 at 366 [126].

  4. As much had earlier been recognised in WAIS[63], where French J concluded that:

    "The language of s 196 ... seems to me to be intractable. The detention there prescribed is ended only by one of the terminating events. The removal obligation for which s 198 provides does not seem to have been enacted for any purpose protective of the rights of detainees. Rather it facilitates the expeditious removal from Australia of unlawful non-citizens. The remedy for a failure in the discharge of that duty may be mandamus, possibly directed to the Minister." (emphasis added)

    [63][2002] FCA 1625 at [56]; see also Minister for Immigration and Multicultural and Indigenous Affairs v Al Masri (2003) 126 FCR 54 at 88 [134].

  5. The duty imposed upon officers of the Executive by ss 189(1) and 196(1) of the Act is to detain the unlawful non‑citizen until the occurrence of one of the events referred to in s 196. The duty so imposed by the Act is neither conditional upon, nor co‑extensive with, the intents or purposes of officers of the Executive towards the detainee.

  6. Where the Executive is dilatory in performing the hedging duties imposed upon it, as French J observed, the remedy of mandamus is available to compel the proper performance of those duties[64]. It is precisely because the hedging duties may be enforced so as to bring the detention of the unlawful non‑citizen to an end that the executive detention authorised and required by ss 189 and 196 can be seen to be within the Parliament's power under s 51(xix) of the Constitution as limited by the implications of Ch III. These hedging duties are not things written in water. A failure on the part of the responsible officers of the Executive to comply with an order of the court mandating performance of their statutory duties may result in those officers being committed to prison for contempt of court[65]. By this means, judicial power is exercised to give effect to the scheme of the Act, enforcing the supremacy of the Parliament over the Executive[66].

    [64]See Plaintiff S297/2013 v Minister for Immigration and Border Protection (2015) 255 CLR 231.

    [65]M v Home Office [1994] 1 AC 377; see also AFX17 v Minister for Home Affairs [No 4] [2020] FCA 926.

    [66]M v Home Office [1994] 1 AC 377 at 395.

  7. The duty imposed by s 198(6) was enforceable at all times during the 14 months when the responsible officers of the Executive were failing to perform that duty in the present case. At all times during this period, they were amenable to mandamus to require them to perform that duty. But at all times, their duty was to remove the respondent from Australia. Nothing happened that might, consistently with the Act, require or permit them to set the respondent at large in Australia. Not surprisingly, perhaps, given that Syria was the likely destination for removal, at no stage did the respondent demand that the duty under s 198(6) be performed. The decision of the primary judge is thus attended by the supreme irony that the failure of the Executive to perform a duty which the respondent did not at any time seek to have performed has led to the admission of the respondent into the Australian community contrary to the duty of the Executive and to the clear intention of the Act as to the circumstances in which an unlawful non‑citizen might be admitted into the Australian community.

    Koon Wing Lau

  8. The respondent sought to support the primary judge's view that the word "until" in s 196(1) should be understood as being constrained by the ability and intent of officers of the Executive to give effect to the statutory purpose of detention by reference to Koon Wing Lau. That submission cannot be accepted.

  9. Koon Wing Lau[67] was relevantly concerned with a challenge to the validity of s 7 of the War‑time Refugees Removal Act 1949 (Cth) ("the WRR Act"), which provided for the detention of "deportees", who included aliens who had entered Australia during the period of the Second World War, or who entered Australia as a place of refuge and had not left Australia since so entering. Section 7 provided relevantly that:

    "A deportee may –

    (a)pending his deportation and until he is placed on board a vessel for deportation from Australia;

    ...

    be kept in such custody as the Minister or an officer directs."

    [67](1949) 80 CLR 533 at 550.

  10. In rejecting the challenge to the validity of s 7 on the basis that it permitted "unlimited imprisonment", Latham CJ (with whom McTiernan J agreed) said[68]:

    "Section 7 does not create or purport to create a power to keep a deportee in custody for an unlimited period. The power to hold him in custody is only a power to do so pending deportation and until he is placed on board a vessel for deportation ... If it were shown that detention was not being used for these purposes the detention would be unauthorized and a writ of habeas corpus would provide an immediate remedy."

    [68]Koon Wing Lauv Calwell (1949) 80 CLR 533 at 556.

  11. Dixon J, having referred to the "imperative language" of s 5 of the WRR Act, which provided that a person in respect of whom a deportation order is made "shall be deported in accordance with [that] Act", said[69]:

    "In s 7(1)(a) I think that the words 'pending deportation' imply purpose. The two provisions together mean that a deportee may be held in custody for the purpose of fulfilling the obligation to deport him until he is placed on board the vessel. It appears to me to follow that unless within a reasonable time he is placed on board a vessel he would be entitled to his discharge on habeas. In these circumstances the provision is, I think, a law with respect to the removal of the alien or refugee and falls within the respective powers justifying that removal."

    [69]Koon Wing Lau v Calwell (1949) 80 CLR 533 at 581.

  12. Similarly, Williams J said[70]:

    "The Act does not provide that a deportee shall be deported from Australia within a specified period. It was submitted that under this provision a deportee could be kept in custody indefinitely and never deported, so that it is not a law with respect to the deportation of aliens at all but a law which in substance and effect authorizes the indefinite incarceration of the members of a certain class of persons. But a deportee may only be kept in custody pending his deportation and until he is placed on board a vessel for deportation from Australia, so that, if it appeared that a deportee was being kept in custody not with a view to his deportation but simply with a view to his imprisonment for an indefinite period, the custody would be illegal. This fact might be difficult to prove but the omission to fix a period within which the deportee must be placed on board a vessel for deportation from Australia is not sufficient, in my opinion, to prevent s 7 ... being a law with respect to aliens. It would obviously be difficult to fix such a period."

    [70]Koon Wing Lau v Calwell (1949) 80 CLR 533 at 586.

  13. These statements do not support the primary judge's construction of "until" in s 196(1) of the Act. Section 7 of the WRR Act applied to aliens who may have been lawfully at liberty within the Australian community unless the WRR Act authorised their detention and deportation. At the time, there was no statutory equivalent of ss 189 and 196 of the Act; and nothing in the report of the case suggests that any of the persons liable to deportation had entered Australia unlawfully. As Callinan J noted in Al‑Kateb[71], Dixon J was not discussing the scope of the constitutional power with respect to aliens, but was construing the language of the WRR Act and the authority conferred thereby on the Executive. Latham CJ and Williams J were similarly concerned with the extent of the statutory authority conferred on the Executive.

    [71](2004) 219 CLR 562 at 657 [288].

  14. Detention of deportees under s 7 was at the discretion of the Executive. If officers of the Executive chose to detain a person for purposes other than to effect their deportation, as might be evidenced by a failure to deport the person within a reasonable time, s 7 did not authorise that person's detention. If a person's detention was unauthorised, it followed that the status quo ex ante, being at liberty in the community, ought to be restored by way of habeas.

  15. In contrast, ss 189 and 196 of the Act require the segregation of unlawful non‑citizens, both before they are admitted pursuant to a visa and in order to facilitate their removal if a visa is not granted[72]. Given this statutory requirement, it matters not why an officer of the Executive might detain a person because, provided that person is in fact an unlawful non-citizen, the Parliament has required that he or she be detained[73]. Because the evident intention of the Act is that an unlawful non‑citizen may not, in any circumstances, be at liberty in the Australian community, no question of release on habeas can arise. As Hayne J, with whom McHugh and Heydon JJ relevantly agreed, said in Al‑Kateb[74]:

    "The questions which arise about mandatory detention do not arise as a choice between detention and freedom. The detention to be examined is not the detention of someone who, but for the fact of detention, would have been, and been entitled to be, free in the Australian community."

    [72]See Al-Kateb v Godwin (2004) 219 CLR 562 at 647 [254].

    [73]See Al-Kateb v Godwin (2004) 219 CLR 562 at 647 [254].

    [74](2004) 219 CLR 562 at 637 [219], see also at 662 [299]. To similar effect, see Plaintiff M76/2013 v Minister for Immigration, Multicultural Affairs and Citizenship (2013) 251 CLR 322 at 379-380 [182]‑[183].

  16. It is also convenient to note here a statement of the Full Court of the Federal Court (Black CJ, Sundberg and Weinberg JJ) in Minister for Immigration and Multicultural and Indigenous Affairs v Al Masri[75], in the course of reasoning to a conclusion disapproved by this Court in Al‑Kateb. After correctly stating that "[i]f the Minister were not fulfilling his duty under s 198(1) to remove as soon as reasonably practicable the detention would ... still be lawful and the appropriate remedy would be an order in the nature of mandamus to compel the Minister to take the steps required for the performance of his duty"[76], the Full Court went on incorrectly to state[77]:

    "The Minister's purpose in detaining, however, must be the bona fide purpose of removal. Otherwise the detention would not be lawful. If the Minister were to hold a person in detention without such a purpose, then the detention would be unlawful and the person entitled to relief in the nature of habeas corpus. This conclusion is consistent with the decision of the High Court in Park Oh Ho v Minister for Immigration and Ethnic Affairs[78]".

    [75](2003) 126 FCR 54.

    [76]Minister for Immigration and Multicultural and Indigenous Affairs v Al Masri (2003) 126 FCR 54 at 88 [134].

    [77]Minister for Immigration and Multicultural and Indigenous Affairs v Al Masri (2003) 126 FCR 54 at 88 [135].

    [78](1989) 167 CLR 637.

  17. In this regard, the Full Court misunderstood Park Oh Ho. In that case, this Court held that a deportation order purportedly made in the exercise of a discretion to order deportation then conferred by the Act was invalid because the deportation order had been made for the ulterior purpose of keeping the deportees available to be witnesses in a pending criminal prosecution. As a result of the invalidity of the deportation order, the detention of the appellants was unlawful because the authority to detain under the relevant provisions of the Act was confined to "deportees" and they were no longer "deportees"[79]. Nothing in the decision or reasons in Park Oh Ho sheds light on the operation of s 189, s 196 or s 198 of the Act.

    [79]Park Oh Ho v Minister for Immigration and Ethnic Affairs (1989) 167 CLR 637 at 640-641, 643.

    The validity of s 196(3)

  18. In an attempt to avoid the difficulty of reconciling the primary judge's construction of s 196(1) with s 196(3), the respondent argued that s 196(3) is invalid on the same basis its predecessor, s 54R, was held to be invalid in Lim. This submission cannot be accepted. Section 54R provided that "[a] court is not to order the release from custody of a designated person". Section 54Q had the effect that a designated person's detention would cease to be authorised upon the expiry of a specified time period. The expression "designated person" was defined in s 54K in such a way that "status ... as a 'designated person' does not automatically cease when detention in custody is no longer authorized by" the Act[80].

    [80]Chu Kheng Lim v Minister for Immigration, Local Government and Ethnic Affairs (1992) 176 CLR 1 at 35.

  19. In Lim[81], Brennan, Deane and Dawson JJ (Gaudron J agreeing) held that, given that circumstances could exist in which a designated person may be unlawfully held in custody in purported pursuance of the Act, "it necessarily follow[ed] that the provision of s 54R [was] invalid". Their Honours went on to say[82]:

    "In terms, s 54R is a direction by the Parliament to the courts as to the manner in which they are to exercise their jurisdiction. It is one thing for the Parliament, within the limits of the legislative power conferred upon it by the Constitution, to grant or withhold jurisdiction. It is a quite different thing for the Parliament to purport to direct the courts as to the manner and outcome of the exercise of their jurisdiction. The former falls within the legislative power which the Constitution, including Ch III itself, entrusts to the Parliament. The latter constitutes an impermissible intrusion into the judicial power which Ch III vests exclusively in the courts which it designates."

    [81](1992) 176 CLR 1 at 36.

    [82]Chu Kheng Lim v Minister for Immigration, Local Government and Ethnic Affairs (1992) 176 CLR 1 at 36‑37.

  20. In NAMU of 2002 v Minister for Immigration and Multicultural and Indigenous Affairs[83], Black CJ, Sundberg and Weinberg JJ observed, correctly, that "[s] 196 lacks the two features that were fatal to s 54R" in that s 196 is confined in its operation to "unlawful non‑citizens", that is, persons who are not lawfully present in Australia; and, further, unlike s 54R, which purported to preclude a court from ordering the release of persons whose detention had become unlawful, s 196 "precludes a court from ordering the release of persons who are lawfully detained". On that basis, s 196 "does no more than restate this axiomatic position"[84] in order to put beyond doubt the incorrectness of interpretations of the kind adopted by the primary judge. Section 196(2) confirms that this is so.

    [83](2002) 124 FCR 589 at 595 [10].

    [84]NAMU of 2002 v Minister for Immigration and Multicultural and Indigenous Affairs (2002) 124 FCR 589 at 595 [10].

    Step 2: Delay, departure and detention for an unauthorised purpose

  21. It must be accepted upon the unchallenged findings of fact made by the primary judge that officers of the Executive were distracted from their duty under s 198(6) of the Act by an irrelevant consideration, namely the breach by Australia of its non‑refoulement obligations if the option of removing the respondent to Syria were to be pursued. It may also be accepted that on his Honour's findings of fact, more might have been done to remove the respondent from Australia. The primary judge made the leap, from a finding of a failure by the Executive to remove the respondent as soon as reasonably practicable as required by s 198(6), to the conclusion that the Executive was detaining the respondent for a purpose other than his removal from Australia[85]. This leap was not justified by any finding of fact, or indeed by any evidence, but was understood by his Honour to be required by the following passage from the reasons of this Court in Plaintiff S4[86]:

    "The duration of the plaintiff's lawful detention under the Act was thus ultimately bounded by the Act's requirement to effect his removal as soon as reasonably practicable. It was bounded in this way because the requirement to remove was the only event terminating immigration detention which, all else failing, must occur.

    It follows that the Executive's consideration (while the plaintiff was in immigration detention) of whether he might seek and be granted a protection visa had to be undertaken within that framework. As already observed, the authority to detain the plaintiff is an incident of the power of the Executive to remove the plaintiff or to permit him to enter and remain in Australia, and the plaintiff's detention is limited to what is reasonably capable of being seen as necessary to effect those purposes. The purpose for his detention had to be carried into effect as soon as reasonably practicable. That is, consideration of whether a protection visa may be sought by or granted to the plaintiff had to be undertaken and completed as soon as reasonably practicable. Departure from that requirement would entail departure from the purpose for his detention and could be justified only if the Act were construed as permitting detention at the discretion of the Executive. The Act is not to be construed as permitting detention of that kind."

    [85]AJL20 v The Commonwealth [2020] FCA 1305 at [25]‑[34], [40]‑[46], [69].

    [86](2014) 253 CLR 219 at 233 [33]‑[34].

  1. In this respect, the primary judge was mistaken. Plaintiff S4 does not authorise reasoning from a finding of want of proper diligence in the performance of the duty to remove to a conclusion that some unauthorised punitive purpose is being pursued by the Executive.

  2. In Plaintiff S4, the circumstances of the unlawful non-citizen were such as to have engaged the requirement that he be removed from Australia as soon as reasonably practicable pursuant to s 198(2) of the Act. Notwithstanding that the duty to remove had been triggered, the Minister embarked upon a consideration of whether to exercise the power conferred by s 46A(2) of the Act to lift the bar imposed by s 46A(1), preventing the detainee from making a valid application for a visa[87]. As a result, the plaintiff's detention went beyond detention referable only to the performance of the duty pursuant to s 198(2) and became detention for the purpose of the Minister's consideration of whether to exercise the s 46A(2) power. The Court held that, because s 198(2) was the dominant provision and the obligation thereunder to remove "as soon as reasonably practicable" had already been triggered, the temporal limit applied also to the decision under s 46A(2). In the context where the plaintiff's detention had been prolonged to allow the Minister to consider whether to exercise the power conferred by s 46A(2), the Minister was not permitted then to exercise the separate power to grant a visa pursuant to s 195A(2). The grant of that visa foreclosed the exercise of the power under s 46A before a decision was made and thus deprived the prolongation of detention of its purpose[88].

    [87]Plaintiff S4/2014 v Minister for Immigration and Border Protection (2014) 253 CLR 219 at 232‑234 [28]‑[35].

    [88]Plaintiff S4/2014 v Minister for Immigration and Border Protection (2014) 253 CLR 219 at 235 [41], 237 [46]-[47].

  3. When, in Plaintiff S4[89], the Court said that "[d]eparture from that requirement [to carry the purpose into effect as soon as reasonably practicable] would entail departure from the purpose for ... detention [of the unlawful non‑citizen] and could be justified only if the Act were construed as permitting detention at the discretion of the Executive", their Honours were concerned to emphasise why administrative steps that prolonged detention must be taken within the framework of the Act and subject to its implicit temporal limits. Their Honours were not expressing a conclusion that failure to comply with a duty to bring about one of the terminating events in s 196(1) had the consequence that, ipso facto, detention became unlawful.

    [89](2014) 253 CLR 219 at 233 [34].

  4. The notion that pursuit by the Executive of a purpose that is unauthorised or even prohibited by the Act might render the detention mandated by s 189(1) during the period mandated by s 196(1)(a) invalid is in any event problematic for the reasons that have already been given. Further, as Selway J explained in Alsalih v Manager, Baxter Immigration Detention Facility[90]:

    "In contrast to the exercise of a discretionary power, there is no necessary requirement that a statutory duty be exercised bona fide and for the purpose for which the power was given. To give a simple example, if a Sheriff has a warrant to hold a prisoner in gaol the duty to do so exists no matter whether the Sheriff is bona fide and no matter what his or her purpose might be. Otherwise, an officer could avoid a statutory duty merely by disagreeing with it."

    [90](2004) 136 FCR 291 at 309 [56].

  5. It is enough for the duty to detain imposed by s 189(1) to be sustained in accordance with s 196(1)(a) until completion of the performance of the duty to remove imposed by s 198 that the officer keeping or causing the person to be kept in immigration detention knows or reasonably suspects that the person is an unlawful non-citizen. Provided the requisite knowledge or suspicion continues to exist throughout the period of detention[91], an unauthorised or prohibited purpose on the part of the officer in prolonging the period of detention can affect neither the duty to detain nor the duty to remove nor the appropriate remedy for non-performance of the duty to remove.

    [91]cf Guo v The Commonwealth (2017) 258 FCR 31 at 56 [83].

    Conclusion

  6. The conclusion that officers of the Executive have not discharged their statutory duty to remove the respondent from Australia as soon as reasonably practicable affords a basis for orders requiring that they do their duty. Orders to that effect are appropriate to enforce the scheme of the Act. In contrast, to order that the respondent be released into the Australian community because officers of the Executive have not performed their statutory duty to remove him from Australia is to subvert that scheme.

  7. It is evident that the Executive found the prospect of the removal of the respondent to Syria in breach of Australia's non‑refoulement obligations unpalatable. In that regard, it is equally evident that, if the Minister wished to avoid the realisation of that unpalatable prospect, a visa might be granted to the respondent – precisely as the Explanatory Memorandum to the Bill that introduced s 197C contemplated[92]:

    "Australia will continue to meet its non-refoulement obligations through other mechanisms and not through the removal powers in section 198 of the Migration Act. For example, Australia's non-refoulement obligations will be met through ... the Minister's personal powers in the Migration Act, including those under section ... 195A ... of the Migration Act." (emphasis added)

    [92]Australia, House of Representatives, Migration and Maritime Powers Legislation Amendment (Resolving the Asylum Legacy Caseload) Bill 2014, Explanatory Memorandum at 166 [1142]. See also Australia, House of Representatives, Parliamentary Debates (Hansard), 25 September 2014 at 10548‑10549.

    Orders

  8. In the compensation proceeding, C16/2020:

    (a)the appeal should be allowed, and the orders of the Federal Court of Australia made on 29 September 2020 be set aside, and in their place it be ordered that the proceeding be dismissed with costs;

    (b)the respondent must pay the appellant's costs of the appeal to this Court.

  9. In the specific relief proceeding, C17/2020:

    (a)the appeal should be allowed, and the orders of the Federal Court of Australia made on 11 September 2020 be set aside, and in their place it be ordered that the application filed in the Federal Circuit Court of Australia on 12 May 2020 and transferred to the Federal Court of Australia on 27 May 2020 be dismissed with costs;

    (b)the respondent must pay the appellant's costs of the appeal to this Court.

  10. GORDON AND GLEESON JJ.   The Migration Act 1958 (Cth) authorises the Executive (relevantly referred to as "an officer"[93]) to detain an unlawful non‑citizen[94] and to keep that person in detention ("immigration detention")[95]. The authority the Migration Act gives the Executive to keep a person in immigration detention is not unlimited. The Migration Act provides for when detention must begin and when it must end.

    [93]Migration Act, s 5(1) definition of "officer".

    [94]Migration Act, ss 13 and 14.

    [95]Migration Act, ss 189, 196, 198. See Plaintiff M61/2010E v The Commonwealth (2010) 243 CLR 319 at 337 [19]-[20]; Plaintiff S4/2014 v Minister for Immigration and Border Protection (2014) 253 CLR 219 at 232-233 [30].

  11. The plurality in Chu Kheng Lim v Minister for Immigration, Local Government and Ethnic Affairs[96] held that there are limits on the Executive's authority to detain an alien in custody "when conferred in the context and for the purposes of executive powers to receive, investigate and determine an application by that alien for an entry permit and (after determination) to admit or deport" and that those limits are necessary to ensure that Executive detention does not infringe Ch III of the Constitution.

    [96](1992) 176 CLR 1 at 32. See also Plaintiff M68/2015 v Minister for Immigration and Border Protection (2016) 257 CLR 42 at 161‑162 [384]‑[385].

  12. Continuing detention beyond the limits necessary for constitutional validity is unlawful[97]. As Crennan, Bell and Gageler JJ explained in Plaintiff M76/2013 v Minister for Immigration, Multicultural Affairs and Citizenship[98]:

    "laws authorising or requiring the detention in custody by the executive of non-citizens, being laws with respect to aliens within s 51(xix) of the Constitution, will not contravene Ch III of the Constitution, and will therefore be valid, only if: 'the detention which they require and authorise is limited to what is reasonably capable of being seen as necessary for the purposes of deportation or necessary to enable an application for an entry permit to be made and considered.'" (emphasis added; footnote omitted)

    [97]See Lim (1992) 176 CLR 1 at 33-36; see also 11‑12, 51, 53.

    [98](2013) 251 CLR 322 at 369 [138], quoting Lim (1992) 176 CLR 1 at 33. See also Plaintiff S4 (2014) 253 CLR 219 at 231‑232 [25]-[29]; CPCFv Minister for Immigration and Border Protection (2015) 255 CLR 514 at 625 [374].

  13. The Executive has no "prerogative" or non‑statutory power to detain a person[99]. The criteria against which the lawfulness of detention must be judged "are set at the start of the detention"[100]. As six members of this Court observed in Plaintiff M96A/2016 v The Commonwealth[101], citing Australian Communist Party v The Commonwealth[102], "Parliament cannot avoid judicial scrutiny of the legality of detention" by "mak[ing] the length of detention at any time dependent upon the unconstrained, and unascertainable, opinion of the Executive" (emphasis added). Indeed, it is "because immigration detention is not discretionary, but is an incident of the execution of particular powers of the Executive, [that] it must serve the purposes of the Act and its duration must be fixed by reference to what is both necessary and incidental to the execution of those powers and the fulfilment of those purposes"[103] (emphasis added).

    [99]Lim (1992) 176 CLR 1 at 19, 63; CPCF (2015) 255 CLR 514 at 567-568 [148]‑[150], 599-600 [273]-[275]; Plaintiff M68 (2016) 257 CLR 42 at 105 [159], 158 [372]. As stated in Lim (1992) 176 CLR 1 at 28, it is unnecessary to consider the power of the Executive in times of war.

    [100]Plaintiff S4 (2014) 253 CLR 219 at 232 [29].

    [101](2017) 261 CLR 582 at 597 [31].

    [102](1951) 83 CLR 1 at 258.

    [103]Plaintiff S4 (2014) 253 CLR 219 at 232 [29].

  14. The central dispute in these appeals is whether detention is lawful even though it continues beyond the time at which it should have come to an end. The detention of the respondent, AJL20, should have been, but was not, brought to an end by removing AJL20 from Australia sooner than he will now be removed. His detention was prolonged because, contrary to ss 196, 197C and 198 of the Migration Act, for approximately 14 months[104], officers considered Australia's non‑refoulement obligations in respect of AJL20[105]. Section 197C made clear, in unambiguous terms, that for the purposes of removal of an unlawful non-citizen under s 198, "it is irrelevant whether Australia has non‑refoulement obligations in respect of an unlawful non-citizen"[106], and, further, that the duty to remove an unlawful non-citizen as soon as reasonably practicable arises "irrespective of whether there has been an assessment, according to law, of Australia's non‑refoulement obligations in respect of the non‑citizen"[107].

    [104]The period of detention challenged began on 26 July 2019, the day after AJL20's visa application was "finally determined" by reason of the Minister for Home Affairs declining to consider exercising his discretion under s 195A to grant AJL20 a visa, triggering his removal "as soon as reasonably practicable" under s 198(6), and ended on 11 September 2020, when AJL20 was released from detention by order of the Federal Court of Australia.

    [105]See Al-Kateb v Godwin (2004) 219 CLR 562 at 636 [218], 639 [227]-[228].

    [106]Migration Act, s 197C(1) (as it stood at the relevant time).

    [107]Migration Act, s 197C(2) (as it stood at the relevant time). See Australia, House of Representatives, Migration and Maritime Powers Legislation Amendment (Resolving the Asylum Legacy Caseload) Bill 2014, Explanatory Memorandum at 165 [1132], 166 [1140]-[1141].

  15. The Commonwealth submitted that immigration detention is lawful until an unlawful non‑citizen is "actually removed". That is, the Commonwealth submitted that the authority to detain an unlawful non‑citizen continues until the "actual occurrence" of a "terminating event" under s 196(1) – relevantly, removal from Australia – regardless of whether, as the Migration Act requires, the Commonwealth removes the person as soon as reasonably practicable.

  16. The Commonwealth submitted that even where, as here, the Executive prolonged AJL20's detention (by spending many months considering non‑refoulement obligations that the Migration Act expressly provided were irrelevant to the Executive's obligation to remove AJL20 as soon as reasonably practicable), the detention was lawful. That would mean that Executive detention would remain lawful until such time as an unlawful non-citizen is removed under s 198, subject only to the requirement that, throughout the duration of the detention, an officer knows or reasonably suspects that the person is an unlawful non‑citizen[108]. The logical, and inevitable, consequence of the Commonwealth's submission is that (perhaps absent express malice[109]) detention could lawfully continue for so long as the Executive chose, notwithstanding non‑compliance with s 196. Put differently, the Commonwealth's contention would enable detention of unlawful non-citizens at the unconstrained discretion of the Executive; the terminating event may never occur despite being reasonably practicable, yet detention would remain lawful[110]. That would render the Ch III limits on Executive detention meaningless.

    [108]Migration Act, s 189.

    [109]Which might constitute misfeasance in public office: Northern Territory v Mengel (1995) 185 CLR 307 at 345-348; Sanders v Snell (1998) 196 CLR 329 at 346-347 [42].

    [110]cf Plaintiff S4 (2014) 253 CLR 219 at 232 [29], 233 [33]-[34]; Plaintiff M96A (2017) 261 CLR 582 at 597 [31].

  17. The Commonwealth's submissions have no foundation in the text of the Migration Act. If they did, there would be a question about the validity of the provisions[111]; but no such question is reached. On the proper construction of the Migration Act, the Commonwealth's submissions fail. Sections 189, 196, 197C and 198 must be read together[112]. That construction has to take place against the constitutional background[113]. Both the plain text of the provisions, and the constitutional framework within which they sit and must be read, show that the Executive's authority to keep an unlawful non‑citizen in immigration detention stops when time for removal as soon as reasonably practicable has expired. As will be explained, it is not the event of removal, but a time by which removal must occur, that defines the lawfulness of detention.

    [111]Lim (1992) 176 CLR 1 at 33, 36, 58. See also Koon Wing Lau v Calwell (1949) 80 CLR 533 at 556.

    [112]Project Blue Sky Inc v Australian Broadcasting Authority (1998) 194 CLR 355 at 381-382 [69]-[70]; Al-Kateb (2004) 219 CLR 562 at 637-638 [223]; Plaintiff S4 (2014) 253 CLR 219 at 230 [23], 236 [42].

    [113]Acts Interpretation Act 1901 (Cth), s 15A; Lim (1992) 176 CLR 1 at 14; Plaintiff S157/2002 v The Commonwealth (2003) 211 CLR 476 at 504 [71]; Plaintiff M47/2012 v Director-General of Security (2012) 251 CLR 1 at 133 [339]; North Australian Aboriginal Justice Agency Ltd v Northern Territory (2015) 256 CLR 569 at 604 [76].

  18. Section 189(1) provides for a mandatory[114] duty to detain an unlawful non‑citizen "[i]f an officer knows or reasonably suspects that a person in the migration zone ... is an unlawful non-citizen". The authority to keep an unlawful non‑citizen in detention is conditioned by s 196. Section 196 identifies a number of "terminating events" the pursuit of which justifies keeping a person in detention[115]. One of those events is, relevantly, until "he or she is removed from Australia under section 198"[116]. Section 198, in its various operations, requires that an officer must remove an unlawful non‑citizen "as soon as reasonably practicable"[117]. That obligation is triggered by an objective event. It may be triggered by a written request for removal by the unlawful non‑citizen under s 198(1) or, as in this case, it may be triggered by a final decision not to grant a visa under s 198(6). Once that event occurred for AJL20 (as it had on 25 July 2019, when the Minister for Home Affairs declined to consider exercising his discretion under s 195A to grant AJL20 a visa[118]), AJL20's detention under s 196 was authorised for the Executive to pursue his removal from Australia in accordance with s 198(6), as soon as reasonably practicable, and for no other reason.

    [114]Al-Kateb (2004) 219 CLR 562 at 647 [254].

    [115]See Lim (1992) 176 CLR 1 at 32-33, 36.

    [116]Migration Act, s 196(1)(a).

    [117]Migration Act, s 198(1), (1A), (1C)-(2B), (5), (6)-(9).

    [118]It was common ground that s 198(6) was engaged in respect of AJL20 by 26 July 2019.

  19. The Commonwealth's submission elides the distinction between taking into detention and the duration of detention. The Migration Act relevantly defines "detain" to mean[119]:

    "(a)     take into immigration detention; or

    (b)      keep, or cause to be kept, in immigration detention;

    and includes taking such action and using such force as are reasonably necessary to do so." (emphasis added)

    The disjunctive "or" is important and is not to be ignored. It reinforces the distinction between taking into detention and the duration of – keeping a person in – detention that is reflected in the text of the provisions and in the way the provisions are intended to, and do, operate as a coherent whole.

    [119]Migration Act, s 5(1) definition of "detain".

  20. The statutory power to detain an unlawful non-citizen must be understood by reference to two interlocking dimensions – power and duration. The Commonwealth's argument elides the two by focusing only on the power and duty given by s 189 and ignoring the duration fixed by ss 196 and 198, detention until removal as soon as reasonably practicable. The Commonwealth, by eliding power and duration, sought to say that detention for longer than the time authorised by the Migration Act was lawful. And yet, the Commonwealth said mandamus would be available, there being a statutory duty that had not been performed. The statutory duty not performed was the duty to remove as soon as reasonably practicable. The tension in the Commonwealth's position can only be resolved by recognising that the prolongation of the detention was not authorised by the Migration Act and was therefore unlawful.

  21. At trial, the primary judge held that the Commonwealth failed to take steps to remove AJL20 from Australia to any country for the first period of his detention once s 198(6) was engaged, and failed to take steps to remove him to Syria, his country of nationality, for the whole of his detention, despite reasonably practicable steps being available to do so[120]. The primary judge also found that the onus was on the Commonwealth to establish that the earliest point in time for removal had not yet arrived[121]. His Honour found that the Commonwealth had not discharged that onus[122]. That AJL20's detention had been prolonged was not disputed in this Court.

    [120]AJL20 v The Commonwealth [2020] FCA 1305 at [126]-[128], [159], [170]-[171].

    [121]AJL20 [2020] FCA 1305 at [88], [91].

    [122]AJL20 [2020] FCA 1305 at [88].

  22. If the Migration Act operates according to its terms and an unlawful non‑citizen is removed as soon as reasonably practicable, there is no occasion to reconsider or re-engage s 189. But where an unlawful non‑citizen has been detained unlawfully and remains in detention, s 189 would require the unlawful non‑citizen, if released, to be immediately re‑detained[123]. Two points should then be made. First, the unlawful non‑citizen could only be detained lawfully – that is, only until they could be removed as soon as reasonably practicable. Second, observing that s 189 would apply to require re‑detention does not alter the conclusion that the past period of detention was not authorised by the Migration Act. And, not being authorised by the Migration Act, the past detention was unlawful[124].

    [123]Plaintiff M76 (2013) 251 CLR 322 at 380 [183]. See also Wiest v Director of Public Prosecutions (1988) 81 ALR 129 at 135-136; Al-Kateb (2004) 219 CLR 562 at 641 [236].

    [124]Lim (1992) 176 CLR 1 at 35-36.

  1. The reason that Brennan, Deane and Dawson JJ held that the Executive was constitutionally constrained to a narrow range of legitimate purposes was that other purposes would be punitive, using that concept in a sense extending beyond the narrow conception of criminal punishment as moral desert[197]. Their Honours concluded that the Commonwealth Parliament cannot validly authorise the Executive to detain aliens involuntarily beyond the limited period discussed above because to do so would be "penal or punitive in character [which] under our system of government, exists only as an incident of the exclusively judicial function of adjudging and punishing criminal guilt"[198].

    [197]See Minister for Home Affairs v Benbrika (2021) 95 ALJR 166 at 215-216 [196]‑[197], 219 [210]-[213]; 388 ALR 1 at 58-59, 63-64.

    [198](1992) 176 CLR 1 at 27.

  2. As constitutionally constrained, the terms of the Migration Act establish the scope and purposes for legitimate Executive action. That Executive action, whether in performance of a duty or in the exercise of a power, cannot be for an illegitimate purpose, namely a purpose that does not conform to the scope and purposes of the Act. As this Court said in Plaintiff S4/2014 v Minister for Immigration and Border Protection[199]:

    "It follows that detention under and for the purposes of the Act is limited by the purposes for which the detention is being effected. And it further follows that, when describing and justifying detention as being under and for the purposes of the Act, it will always be necessary to identify the purpose for the detention. Lawfully, that purpose can only be one of three purposes: the purpose of removal from Australia; the purpose of receiving, investigating and determining an application[[200]] for a visa permitting the alien to enter and remain in Australia; or, in a case such as the present, the purpose of determining whether to permit a valid application for a visa."

    [199](2014) 253 CLR 219 at 231 [26].

    [200]To which can be added the consideration of whether to grant a visa without application, such as under Migration Act, s 195A.

    Habeas corpus where detention is beyond the scope and purposes of the statute

  3. As a matter of statutory implication, any exercise of statutory power by the Executive will usually be authorised only on the basis that the exercise is within the scope of the legislation and for the purposes for which the power was conferred[201]. It is not necessary that an ulterior purpose be the sole purpose in order for the Executive action to be ultra vires. It suffices "if such a purpose is a substantial purpose"[202]. The primary remedy for an ultra vires, and therefore unlawful, detention is a writ of habeas corpus. Unlike damages for false imprisonment, which are only a secondary remedy to compensate for losses where the elements of the tort are satisfied, the remedy of habeas corpus, or an order of that nature[203], is a primary remedy by which a person seeks to rectify the unlawful nature of the detention by release: "[w]hen it has been decided that the detention of any person is illegal he is entitled to be discharged"[204].

    [201]Brownells Ltd v Ironmongers' Wages Board (1950) 81 CLR 108 at 119‑120. See also R v Toohey; Ex parte Northern Land Council (1981) 151 CLR 170 at 186‑187.

    [202]Thompson v Randwick Corporation (1950) 81 CLR 87 at 106. See also Enfield City Corporation v Development Assessment Commission (2000) 199 CLR 135 at 149 [30]; Western Australian Planning Commission v Temwood Holdings Pty Ltd (2004) 221 CLR 30 at 67 [93].

    [203]Ruddock v Vadarlis (2001) 110 FCR 491 at 509 [66], 518 [106]‑[107]. Compare at 546-548 [206]‑[215].

    [204]Secretary of State for Home Affairs v O'Brien [1923] AC 603 at 619.

  4. In Koon Wing Lau v Calwell[205], this Court considered the operation of s 7(1)(a) of the War-time Refugees Removal Act 1949 (Cth), which empowered the Minister or an officer to detain a deportee in custody "pending his deportation and until he is placed on board a vessel for deportation from Australia". Latham CJ, with whom McTiernan J agreed, said that "[i]f it were shown that detention was not being used for these purposes the detention would be unauthorized and a writ of habeas corpus would provide an immediate remedy"[206]. The same reasoning was applied in Park Oh Ho v Minister for Immigration and Ethnic Affairs[207], where this Court held that a power to detain a deportee in custody "pending deportation" did not authorise "the indefinite detention in custody of a person for some ulterior purpose, such as the purpose of being kept available as a witness in a pending criminal prosecution".

    [205](1949) 80 CLR 533.

    [206](1949) 80 CLR 533 at 556.

    [207](1989) 167 CLR 637 at 643.

  5. This established reasoning in relation to statutory powers is equally true of the performance of a statutory duty. The usual statutory implication will be that the performance of a statutory duty will be invalid if it is not performed within the scope of the legislation and for the purposes for which it was imposed. In the Migration Act, detention by the Executive for a purpose that is not within the scope and purposes of the Migration Act is not detention under the Act. Hence, s 196 describes the requirement to keep an unlawful non-citizen in detention as applicable where the detention is "under section 189". As the Full Court of the Federal Court said in ASP15 v The Commonwealth[208], referring to detention by the Executive for the purpose of making a visa decision, "detention only remains valid so long as such a purpose under the Migration Act continues to exist".

    [208](2016) 248 FCR 372 at 383 [42].

  6. The implied requirement that the Executive purpose for performance of a duty must fall within the scope and purposes of the Migration Act was also recognised in the consideration of the "duty" of detention in s 189 by both the majority and minority judgments in Al-Kateb v Godwin[209]: Gleeson CJ held that the detention was unlawful because the purpose of removal was not capable of being fulfilled[210]; Gummow J, and Kirby J in similar terms[211], recognised that the purposes of the Migration Act "are not at large" and that "the purpose of deportation or expulsion cannot be treated by the legislature as a matter purely for the opinion of the executive government"[212]; Hayne J proceeded upon the basis that the Migration Act, like s 7(1)(a) of the War‑time Refugees Removal Act in Koon Wing Lau, provides for detention so long as it is "for the purposes of processing any visa application and removal"[213]; and Callinan J considered that the detention was lawful because there was no basis to imply a limit to the period of detention of a "'reasonable' period" and because the Executive purpose of detention was within the statutory purpose[214].

    [209](2004) 219 CLR 562.

    [210](2004) 219 CLR 562 at 578 [22].

    [211](2004) 219 CLR 562 at 630 [193].

    [212](2004) 219 CLR 562 at 613 [140].

    [213](2004) 219 CLR 562 at 638 [225].

    [214](2004) 219 CLR 562 at 661 [298].

  7. Finally, one rationale for the decision of six members of this Court in Plaintiff M96A/2016 v The Commonwealth[215] was that the Executive had to act for purposes within the scope and purposes of the Migration Act. In Plaintiff M96A/2016, the plaintiffs were brought to Australia from Nauru for medical treatment. They were detained by the Executive under s 189 of the Migration Act while they were in Australia. One question was whether the Executive had detained the plaintiffs for purposes that were beyond the scope and purposes of the Migration Act. The joint judgment quoted from Plaintiff S4/2014[216] for the proposition that "detention under and for the purposes of the Act is limited by the purposes for which the detention is being effected". It was held that the relevant purposes of detaining the plaintiffs in Plaintiff M96A/2016 were within the scope of the Migration Act. Importantly, a legal purpose is distinct from its foreseeable consequences or effects[217]. A consequence or effect of bringing the plaintiffs to Australia for medical treatment was that they were detained in Australia. But the Executive purpose for which the plaintiffs were detained was not for medical treatment. The Executive purpose of the detention was for the plaintiffs' subsequent removal from Australia. Indeed, the detention would have come to an end upon commencement of the process of removal even if medical treatment had not been concluded[218].

    [215](2017) 261 CLR 582 at 594 [22].

    [216](2014) 253 CLR 219 at 231 [26].

    [217]See Unions NSW v New South Wales (2019) 264 CLR 595 at 656 [170]. See also Zaburoni v The Queen (2016) 256 CLR 482 at 489 [10], 504 [66]; SZTAL v Minister for Immigration and Border Protection (2017) 262 CLR 362 at 395‑397 [98]‑[102].

    [218](2017) 261 CLR 582 at 595 [26].

  8. Apart from these matters of authority, there are also strong reasons of principle why a statute will generally be interpreted to constrain the performance of duties according to the scope and purposes of the statute, just as the exercise of powers is so constrained. There can be a very fine line between whether a provision is characterised as imposing a duty or as conferring a power or as imposing a duty that is subject to a power. For instance, the so-called "duty" of continuing detention required by s 189 would not need to have been performed in respect of AJL20 if the Minister had exercised the power under s 195A to grant a Subclass 070 – Bridging (Removal Pending) visa to AJL20. In exercising the power under s 195A, the Minister is not bound by Subdiv AA (Applications for visas), AC (Grant of visas) or AF (Bridging visas) of Div 3 of Pt 2 of the Migration Act or by the relevant provisions of the Migration Regulations[219]. As the Explanatory Memorandum to the Bill that introduced s 195A stated[220]:

    "[New section 195A] provides the Minister with a non‑compellable power to grant a visa to a person who is being held in immigration detention where the Minister is satisfied that it is in the public interest to do so. In the exercise of this power the Minister will not be bound by the provisions of the Migration Act or regulations governing application and grant requirements. The Minister will have the flexibility to grant any visa that is appropriate to that individual's circumstances, including a Removal Pending Bridging Visa where the detainee has no right to remain in Australia but removal is not practicable in the foreseeable future."

    [219]Migration Act, s 195A(3).

    [220]Australia, House of Representatives, Migration Amendment (Detention Arrangements) Bill 2005, Explanatory Memorandum at 3 [10].

  9. It is, at best, misleading to describe any obligation deriving from s 189 as a "duty" upon the Executive to detain AJL20 when the Executive could have released AJL20 by exercise of a general power to grant him a visa under s 195A. As Hohfeld cautioned a century ago, the generalised use of "chameleon-hued words" such as "duties" can constitute a "peril both to clear thought and to lucid expression"[221]. But, whether or not it would debase the content of a "duty" to speak in terms shrouded in the mystical logic of an obligation of the Executive to do something that it is not obliged to do, it is most unlikely that Parliament intended that significant consequences would turn upon fine questions of abstract legal theory that depended upon a loose characterisation of s 189 as a "duty" rather than a power.

    [221]Hohfeld, "Some Fundamental Legal Conceptions as Applied in Judicial Reasoning" (1913) 23 Yale Law Journal 16 at 29.

    Executive purpose is to be assessed objectively

  10. For the reasons above, authority and principle plainly establish that a natural implication from the Migration Act is that the Executive cannot exercise a power or perform a duty or function for purposes that are beyond the express or implied scope and purposes of the Act. Without such an implication, the Migration Act would authorise the Executive to act for a purpose such as punishment which, if expressed in the Migration Act, would be an unconstitutional provision. But, with such an implication, the Executive would be acting ultra vires if it detained an unlawful non‑citizen under s 189 for the purposes of punishment, in contravention of an implied constraint in the Migration Act. And just as the purposes for which the Executive can act are constrained by implied restrictions based on the scope and purposes of the Migration Act, so too the purposes for which the Executive can act are constrained by express restrictions on the scope and purposes of the Migration Act, including s 197C.

  11. The question that then arises is whether the s 197C constraint upon the purpose of the Executive in continuing to detain AJL20 until 11 September 2020 is one which is required to be ascertained subjectively or whether it is to be ascertained objectively by the acts and conduct of officers of the Executive. In relation to powers, the answer is generally that the purpose of the Executive is assessed objectively[222]. The same is true in relation to duties. As Gleeson CJ said in Al‑Kateb v Godwin[223], "[t]he purpose is objective. What is in question is the purpose of the detention, not the motives or intention of the Minister, or the officers". Consequently, improper purpose is not synonymous with a lack of good faith in a moral sense[224] or with dishonesty[225]. Again, six members of this Court in Plaintiff M96A/2016[226] said that "the purpose of immigration detention is assessed objectively by reference to all of the circumstances".

    [222]See Thompson v Randwick Corporation (1950) 81 CLR 87 at 106.

    [223](2004) 219 CLR 562 at 576 [17].

    [224]See SZFDE v Minister for Immigration and Citizenship (2007) 232 CLR 189 at 195 [13], citing Wade and Forsyth, Administrative Law, 9th ed (2004) at 416.

    [225]Thompson v Randwick Corporation (1950) 81 CLR 87 at 106; Western Australian Planning Commission v Temwood Holdings Pty Ltd (2004) 221 CLR 30 at 67 [93].

    [226](2017) 261 CLR 582 at 594 [22].

  12. This objective assessment of whether the purpose of the Executive's exercise of powers or performance of duties is one that is within the scope and purposes of the relevant legislation aligns with the same objective assessment of whether the powers and duties of directors are exercised or performed for proper purposes. In the context of directors' duties, it is established that the exercise of a power or the performance of a duty for an ulterior or impermissible purpose can be invalid notwithstanding that the exercise or performance occurs, as it did in this case, with "substantially altruistic" motives[227]. The court "is entitled to look at the situation objectively"[228]. The concern is not with "an almost infinite analysis of the fears and desires, proximate and remote, which, in truth, form the compound motives usually animating human conduct" but is instead with an objective analysis of "the substantial object the accomplishment of which formed the real ground of the board's action"[229]. One difference, however, between the duties of the Executive and the duties of directors is that the latter also contain elements of subjectivity in the requirement that duties must also be performed in good faith, or bona fide.

    [227]Whitehouse v Carlton Hotel Pty Ltd (1987) 162 CLR 285 at 293.

    [228]Howard Smith Ltd v Ampol Petroleum Ltd [1974] AC 821 at 832.

    [229]Mills v Mills (1938) 60 CLR 150 at 185-186.

  13. In Minister for Immigration and Multicultural and Indigenous Affairs v Al Masri[230], the Full Court of the Federal Court referred to two purpose-based limitations upon the duty to detain under the Migration Act. The first appeared to be subjective: "[i]f the Minister were to hold a person in detention without [a bona fide purpose of removal], then the detention would be unlawful and the person entitled to relief in the nature of habeas corpus". The second, which was rejected in Al-Kateb v Godwin, appeared to be objective: there must be a "real likelihood or prospect of the removal of the person from Australia in the reasonably foreseeable future".

    [230](2003) 126 FCR 54 at 88 [135]‑[136].

  14. The question of whether the "duty" to detain was subject to an objective or subjective purpose-based limitation was subsequently answered by Selway J in Alsalih v Manager, Baxter Immigration Detention Facility[231]. Though the case concerned the second limitation upon the "duty" to detain, which was rejected in Al‑Kateb v Godwin, Selway J considered both limitations upon the power to detain. In the passages relevant to this case[232], his Honour correctly explained that "the detention power in the Act is purposive" and expressed the view that the "requirement under the first limitation that the Minister exercise the power bona fide for the purpose of removal is a subjective test of purpose". But he later qualified that reasoning by doubting whether such a subjective approach to purpose should be taken[233]:

    "In contrast to the exercise of a discretionary power, there is no necessary requirement that a statutory duty be exercised bona fide and for the purpose for which the power was given. To give a simple example, if a Sheriff has a warrant to hold a prisoner in gaol the duty to do so exists no matter whether the Sheriff is bona fide and no matter what his or her purpose might be. Otherwise, an officer could avoid a statutory duty merely by disagreeing with it. In relation to a statutory duty the question of whether there is any objective or subjective purpose is a matter of statutory interpretation."

    It is plain beyond peradventure that Selway J was not suggesting that the rejection of a subjective purpose requirement meant that the "duty" of continuing detention was not purposive at all. His Honour concluded[234]:

    "In this case the combined effect of ss 189 and 198 of the [A]ct is to impose a duty upon someone (presumably an officer) to detain an unlawful non‑citizen. It is not obvious to me that the subjective purpose of that officer has much to do with that duty. In my view any inquiry in relation to the purpose of the statutory provision is an inquiry as to objective purpose."

    [231](2004) 136 FCR 291.

    [232](2004) 136 FCR 291 at 308-309 [54]-[58].

    [233](2004) 136 FCR 291 at 309 [56] (emphasis added).

    [234](2004) 136 FCR 291 at 309 [58] (emphasis added).

    The duty to detain lawfully and the duty to remove as soon as reasonably practicable

  15. It is necessary to separate (i) the "duty" of the Executive acting under s 189 to detain an unlawful non‑citizen lawfully, including within the scope and purposes of the Migration Act, from (ii) the duty of the Executive to remove an unlawful non‑citizen as soon as reasonably practicable under s 198(6), read with s 196. The primary remedy for a breach of either duty aims to ensure compliance with the law, but different writs have historically evolved (i) where compliance with the law requires release from detention, and (ii) where compliance requires performance of a public act or duty.

  16. The primary remedy for a breach of a duty to detain lawfully is to undo the continuing unlawfulness by an order for release by a writ of habeas corpus ad subjiciendum, "for removing the injury of unjust and illegal confinement [which] does not always arise from the ill‑nature, but sometimes from the mere inattention, of government"[235]. On the other hand, the primary remedy for a breach of the duty to remove an unlawful non‑citizen as soon as reasonably practicable is a writ of mandamus, which "issues in all cases where the party [has] a right to have any thing done, and [has] no other specific means of compelling [its] performance"[236]. It lies to command "the doing of what ought to be done, and not to undo what has been done"[237].

    [235]Blackstone, Commentaries on the Laws of England (1768), bk 3, ch 8 at 137‑138 (emphasis in original).

    [236]Blackstone, Commentaries on the Laws of England (1768), bk 3, ch 7 at 110. See also Tapping, The Law and Practice of the High Prerogative Writ of Mandamus, as it obtains both in England and in Ireland (1853) at 58‑59.

    [237]Merrill, Law of Mandamus (1892) at 47.

  1. There are remarks in some of the authorities which might, on one view, be read as conflating the two duties. For instance, in Lim[238], Mason CJ said that detention may cease to be lawful "by reason of the failure of the Executive to take steps to remove a designated person from Australia in conformity with Div 4B". His Honour gave examples including: (i) a failure to remove the designated person as soon as practicable after the person had asked the Minister in writing to be removed[239]; and (ii) a failure to remove the designated person as soon as practicable after the refusal of an entry application for the person and the finalisation of all appeals against, or reviews of, the refusal (if any)[240]. Another instance is the reasons of Dixon J in Koon Wing Lau[241], where his Honour said of provisions that empowered the detention of a deportee "for the purpose of fulfilling the obligation to deport him until he is placed on board the vessel" that "unless within a reasonable time he is placed on board a vessel he would be entitled to his discharge on habeas".

    [238](1992) 176 CLR 1 at 11-12.

    [239]Under the provision that was then Migration Act, s 54P(1). See now s 198(1).

    [240]Under the provision that was then Migration Act, s 54P(3). See now s 198(6).

    [241](1949) 80 CLR 533 at 581.

  2. The remarks of Mason CJ and Dixon J should not be understood as conflating the two different duties. In Lim, Mason CJ only said that detention "may" cease to be lawful in those circumstances. Whether a detention would cease to be lawful would depend upon whether the purpose for the failure by the Executive to remove the designated person was inconsistent with the scope and purposes of the Migration Act. The mere unintentional failure to act as soon as reasonably practicable is not sufficient for an inference that the Executive's purpose for detention was inconsistent with the scope and purposes of the Migration Act. In Koon Wing Lau, the remarks of Dixon J were made in response to a submission that there would be nothing to prevent the Minister directing that a deportee be detained "for life or indefinitely". His Honour was thus contemplating a circumstance where the failure to act within a reasonable time was evidence of a purpose which was beyond the scope and purposes of the Migration Act.

    Ascertaining the Executive's purpose of detaining AJL20

  3. The purpose of an act purportedly performed under a statute must be characterised at the correct level of generality. Suppose that the Executive detained a person under s 189 for the purpose of removing them from Australia specifically to a country to which the Migration Act prohibited removal. At a high level of generality, it might be said that the purpose was consistent with the statute: it was to remove the person from Australia. But to express the purpose at such a high level of generality ignores a substantial object of the Executive: to ensure that the person is removed only to the prohibited country.

  4. The same reasoning must also apply where the purpose of the Executive is to remove a person from Australia but to do so contrary to the terms of s 197C of the Migration Act by not removing a person to a particular country due to non‑refoulement obligations. Hence, in this case it would be an incomplete statement of the purpose of the Executive to describe the purpose merely as removal of AJL20 from Australia. A statement of purpose at that level of generality does not merely fail to capture the substance of the purpose of the Executive. It also fails to explain why the Executive took no steps at all to remove AJL20 from Australia in the period from at least 26 July 2019 until 27 November 2019.

  5. The purpose of the Executive from, at the latest, 26 July 2019 until the date of the primary judge's judgment, 11 September 2020, was to remove AJL20 from Australia consistently with Australia's international non-refoulement obligations. In April 2019, the Minister was asked if he wished to consider exercising his powers under s 195A or s 197AB of the Migration Act. Until the Minister declined to consider the exercise of his discretions under either of those provisions on 25 July 2019, it may have been within the scope of the Migration Act for the Minister to detain AJL20 in order to consider whether to exercise his powers under s 195A or s 197AB and to remove AJL20 consistently with Australia's international non‑refoulement obligations. From 26 July 2019, the purpose of the Executive in detaining AJL20 was solely for removal in a manner consistent with Australia's non-refoulement obligations. That purpose explains the lack of any steps being taken for removal for several months. That purpose also explains the lack of any steps being taken to investigate removal of AJL20 to Syria concurrently with investigations in relation to Lebanon in the second period, from 28 November 2019 until 11 September 2020.

  6. Section 189 of the Migration Act permits detention only where the purpose of the Executive is within the scope and purposes of the Act. The purpose of the Executive, to remove AJL20 from Australia consistently with Australia's international non‑refoulement obligations, was contrary to the express terms of s 197C of the Migration Act. The Executive could have detained, and still can detain, AJL20 if it changed its purpose to one of removal that is not inconsistent with the scope and purposes of the Migration Act.

  7. Further, as explained in the introduction to these reasons, from 1 March 2019, the Executive could have fulfilled its purpose by granting to AJL20 a Subclass 070 – Bridging (Removal Pending) visa under s 195A of the Migration Act. Consistently with the requirements for that visa, AJL20 was initially detained lawfully under s 189. It was also open to the Minister to be satisfied that removal of AJL20 to Syria was not reasonably practicable at the point in time when considering the grant of the visa, which is a separate matter from when removal would become reasonably practicable.

  8. What the Executive could not do was to detain AJL20 with a purpose that was contrary to the terms of the Migration Act. Subject to s 196(3) of the Migration Act, the unlawful detention of AJL20 between 26 July 2019 and 11 September 2020 was the proper subject of a writ of, or an order in the nature of, habeas corpus.

    Section 196(3) cannot preclude release of persons unlawfully detained

  9. The Commonwealth relied upon s 196(3) as providing support for the proposition that a person can be released from detention only on the occurrence of one of the events set out in s 196(1), which, in broad terms, are removal, or the process of removal, from Australia, deportation from Australia, or the grant of a visa. Section 196(3) provides:

    "To avoid doubt, subsection (1) prevents the release, even by a court, of an unlawful non-citizen from detention (otherwise than as referred to in paragraph (1)(a), (aa) or (b)) unless the non-citizen has been granted a visa."

  10. The predecessor provision to s 196(3), in its original numbering, was s 54R of the Migration Act. That section provided that "[a] court is not to order the release from custody of a designated person". Despite its literal terms, the "plain intention of Parliament" was "that a designated person should be released from custody" in situations involving removal from Australia or the grant of an entry permit[242].

    [242]Chu Kheng Lim v Minister for Immigration, Local Government and Ethnic Affairs (1992) 176 CLR 1 at 11.

  11. In Lim, a majority of this Court held that s 54R of the Migration Act could not be read down to permit release of the person from detention where the person was being detained unlawfully. One example given in the joint reasons of Brennan, Deane and Dawson JJ (with which Gaudron J agreed) was where the person continued to be held in detention beyond the express 273‑day limit for detention that was then provided by s 54Q of the Migration Act[243]. In other words, s 54R could not validly preclude a court from releasing from detention a person who was not lawfully detained.

    [243](1992) 176 CLR 1 at 35‑36.

  12. If s 196(3) could not be read down so that "detention" meant only "lawful detention"[244] then s 196(3) would not permit the release by a court of persons who are unlawful non‑citizens, apart from those who are excluded from that concept by necessary disapplication[245]. It is not possible to exclude from the definition of "unlawful non‑citizen" all those persons who are lawfully detained due to that status but whose detention becomes unlawful due to an invalid purpose. And although s 196(4) contemplates the release by a court of various categories of person found to have been unlawfully detained, and whatever may be the effect of making that sub‑section subject to paras (a), (b) and (c) of s 196(1), to the extent, if at all, that s 196(3) could prevent the release by a court of a person from detention where that person is found to be detained for a non‑statutory purpose, and therefore unlawfully, s 196(3) would be invalid for reasons that are indistinguishable as a matter of principle from the reasons which invalidated s 54R in Lim.

    [244]Al-Kateb v Godwin (2004) 219 CLR 562 at 574 [10].

    [245]Love v The Commonwealth (2020) 94 ALJR 198; 375 ALR 597.

    Conclusion

  13. For a court to uphold a purpose of detention that is beyond the scope and purposes of statutory authority would be to deny "the supremacy of Parliament over the Executive"[246]. As an unlawful non‑citizen, AJL20 was initially detained, and could have continued to have been detained, by the Executive acting within the scope and purposes of the Migration Act. But at least from 26 July 2019, the purpose of the Executive was to remove AJL20 consistently with Australia's non‑refoulement obligations. That purpose could have been fulfilled by granting AJL20 a Subclass 070 – Bridging (Removal Pending) visa[247] under s 195A of the Migration Act. But to pursue this purpose whilst AJL20 was in detention, purportedly under s 189, was contrary to the express terms of s 197C of the Migration Act and was therefore beyond the scope and purposes of the Migration Act. As the primary judge concluded, the Commonwealth consistently maintained its position, whilst detaining AJL20, that Australia's non‑refoulement obligations should be treated as precluding his removal to Syria[248].

    [246]R (Public Law Project) v Lord Chancellor [2016] AC 1531 at 1556 [23].

    [247]See Migration Regulations, reg 2.20(12).

    [248]AJL20 v The Commonwealth [2020] FCA 1305 at [157].

  14. AJL20 was entitled to the remedy of habeas corpus for so long as the Executive persisted with its purpose of removing him in a manner contrary to the terms of s 197C. At no stage before the primary judge, or subsequently, did the Executive recant that purpose. Although a writ of habeas corpus may have attached to it conditions that must be observed by the person upon release[249], the Commonwealth did not seek from the primary judge, nor did it seek in this Court, any conditions upon the release of AJL20 relating to his removal from Australia. The appeals must be dismissed with costs.

    [249]Al-Kateb v Godwin (2004) 219 CLR 562 at 579-580 [27]; Plaintiff M47/2012 v Director-General of Security (2012) 251 CLR 1 at 57-58 [108].


Tags

Mandamus

Visa

Case

Commonwealth v AJL20

[2021] HCA 21

HIGH COURT OF AUSTRALIA

KIEFEL CJ,
GAGELER, KEANE, GORDON, EDELMAN, STEWARD AND GLEESON JJ

COMMONWEALTH OF AUSTRALIA  APPELLANT

AND

AJL20  RESPONDENT

Commonwealth of Australia v AJL20

[2021] HCA 21

Date of Hearing: 13 April 2021
Date of Judgment: 23 June 2021

C16/2020 & C17/2020

ORDER

Matter No C16/2020

1.Appeal allowed.

2. Set aside the orders made by the Federal Court of Australia on 29 September 2020 and, in their place, it be ordered that the proceeding be dismissed with costs.

3.The respondent must pay the appellant's costs of the appeal to this Court.

Matter No C17/2020

1.Appeal allowed.

2. Set aside the orders made by the Federal Court of Australia on 11 September 2020 and, in their place, it be ordered that the application filed in the Federal Circuit Court of Australia on 12 May 2020 and transferred to the Federal Court of Australia on 27 May 2020 be dismissed with costs.

3.The respondent must pay the appellant's costs of the appeal to this Court.

Representation

S P Donaghue QC, Solicitor-General of the Commonwealth, with G R Kennett SC, C J Tran and N A Wootton for the appellant and for the Attorney-General of the Commonwealth, intervening (instructed by Australian Government Solicitor)

J T Gleeson SC with N M Wood and J E Hartley for the respondent (instructed by Human Rights for All)

Notice:  This copy of the Court's Reasons for Judgment is subject to formal revision prior to publication in the Commonwealth Law Reports.

CATCHWORDS

Commonwealth of Australia v AJL20

Constitutional law (Cth) – Immigration – Tort – False imprisonment – Where respondent "unlawful non-citizen" detained by Executive under ss 189(1) and 196(1) of Migration Act 1958 (Cth) – Whether period of executive detention authorised and required by ss 189(1) and 196(1) ceases when removal of "unlawful non-citizen" from Australia should have occurred had Executive acted with all reasonable despatch in performance of s 198(6) duty to remove, or continues until actual event of removal or grant of visa – Whether Parliament's power to authorise and require detention until actual event of removal or grant of visa limited by implications of Ch III of Constitution – Whether non-performance by Executive of statutory duties erases legitimate non-punitive statutory purposes which those duties support.

Words and phrases – "aliens", "deportation", "duty to remove", "exclusive vesting of the judicial power of the Commonwealth", "executive detention", "executive power", "executive purpose", "false imprisonment", "habeas corpus", "hedging duty", "judicial power", "lawful non-citizen", "legitimate non-punitive purposes", "Lim principle", "mandamus", "non-refoulement", "Parliamentary supremacy", "reading down", "removal", "remove as soon as reasonably practicable", "separation of powers", "statutory duty", "statutory purposes", "terminating events", "unlawful non-citizen", "visa".

Constitution, s 51(xix), Ch III.
Migration Act1958 (Cth), ss 4, 13, 14, 189, 196, 197C, 198.

  1. KIEFEL CJ, GAGELER, KEANE AND STEWARD JJ. The respondent is a Syrian citizen, who arrived in Australia in May 2005 as the holder of a child visa. On 2 October 2014, the then Minister for Immigration and Border Protection ("the Minister") cancelled the respondent's child visa on character grounds under s 501(2) of the Migration Act 1958 (Cth) ("the Act"). Having become an "unlawful non‑citizen" in consequence of the cancellation of his visa, the respondent was detained on 8 October 2014, as required by s 189(1) of the Act.

  2. The respondent remained in immigration detention until he was released from detention into the community pursuant to the order of the primary judge (Bromberg J) made on 11 September 2020 on the footing that the respondent's continuing detention was unlawful. His Honour held that, because the Executive had not removed the respondent from Australia "as soon as reasonably practicable" in accordance with s 198(6) of the Act, his detention was not for the purpose of removal from Australia and was therefore unlawful. The circumstance that the failure of duty on the part of the Executive was explicable by its desire to comply with Australia's non-refoulement obligations was, by virtue of s 197C, no justification for that failure[1].

    [1]AJL20 v The Commonwealth [2020] FCA 1305 at [95]-[99], [123]; see also DMH16 v Minister for Immigration and Border Protection (2017) 253 FCR 576 at 581 [26].

  3. In this Court, the Commonwealth contended that the respondent's detention under s 189(1) was lawful because it was authorised and, indeed, required by s 196(1) of the Act. The respondent argued to the contrary that s 196(1) does not authorise the Executive to detain an unlawful non-citizen where its officers have failed to remove the unlawful non‑citizen from Australia as soon as reasonably practicable. The respondent contended that, as the primary judge held[2], this construction of the Act was compelled by the need to observe the constitutional limitations on the Commonwealth's legislative power to authorise detention by the Executive.

    [2]AJL20 v The Commonwealth [2020] FCA 1305 at [17], [34(d)], [44], [75].

  4. Almost two decades ago in NAES v Minister for Immigration and Multicultural and Indigenous Affairs[3], Beaumont J rejected an application for habeas corpus in circumstances materially the same as the present case. Beaumont J, following the construction of ss 196(1) and 198 adopted by French J (as his Honour then was) in WAIS v Minister for Immigration and Multicultural and Indigenous Affairs[4], held that the operation of ss 189(1) and 196(1) in authorising the applicant's detention was not conditioned on the actual achievement of removal of the unlawful non‑citizen as soon as reasonably practicable by the Executive. On that footing, an order mandating compliance by the Executive with the duty imposed by s 198 was, as Beaumont J explained, the appropriate remedy for non‑compliance with s 198 of the Act. Such an order would give effect to the statutory scheme, whereas an order for the release of an unlawful non‑citizen into the community would undermine it.

    [3][2003] FCA 2 at [11]‑[15].

    [4][2002] FCA 1625 at [56].

  5. The approach taken by Beaumont J was correct 18 years ago and remains correct today. There is no room for any doubt that the interpretation of ss 196(1) and 198 that his Honour adopted, and that was applied again more recently by the Full Court of the Federal Court (Robertson, Griffiths and Bromwich JJ) in ASP15 v The Commonwealth[5], faithfully reflects the intention of the Act. No constitutional imperative requires departure from it. The primary judge erred in thinking otherwise.

    [5](2016) 248 FCR 372 at 382‑383 [40]‑[42].

    The proceedings

  6. After the respondent was detained in October 2014, he made a number of applications for a protection visa. These applications were, however, refused on character grounds under s 501(1) of the Act. On 25 July 2019, following representations made on his behalf, the Minister refused to consider granting the respondent a visa under s 195A of the Act.

  7. On 4 November 2019, the respondent commenced proceedings in the Federal Court of Australia seeking damages in respect of his alleged false imprisonment by the Commonwealth since 26 July 2019 ("the compensation proceeding"). On 12 May 2020, the respondent commenced a further proceeding in the Federal Circuit Court of Australia seeking what was described as "an order in the nature of a writ of habeas corpus" ("the specific relief proceeding"). The specific relief proceeding was transferred to the Federal Court on 27 May 2020.

  8. In this Court, it was expressly conceded by the Commonwealth that, as the primary judge found, the respondent had not been removed from Australia "as soon as reasonably practicable" as required by s 198(6) of the Act. The primary judge's finding in this regard was, in part, based on the circumstance that officers of what is now the Department of Home Affairs had formed the view that to remove the respondent to Syria would place Australia in breach of its international non‑refoulement obligations[6]. By reason of s 197C of the Act, that consideration was irrelevant to whether it was reasonably practicable that the respondent be removed from Australia. This circumstance aside, the primary judge's finding was also based on findings of fact that the Executive could and should have done more to expedite the respondent's removal from Australia1[7].

    [6]AJL20 v The Commonwealth [2020] FCA 1305 at [10].

    [7]AJL20 v The Commonwealth [2020] FCA 1305 at [105]‑[171].

  9. Following the making of an order in the specific relief proceeding on 11 September 2020 that the respondent be released forthwith, on 29 September 2020 the primary judge made a declaration in the compensation proceeding that the respondent's detention since 26 July 2019 was unlawful. The damages recoverable by the respondent were to be assessed separately[8].

    [8]AJL20 v The Commonwealth [2020] FCA 1305 at [173].

  10. In each proceeding, the Commonwealth appealed to the Full Court of the Federal Court, contending that the primary judge erred in concluding that ss 189(1) and 196(1) of the Act did not authorise the respondent's detention. Upon the application of the Attorney‑General of the Commonwealth, each appeal to the Full Court was removed into this Court pursuant to s 40 of the Judiciary Act 1903 (Cth).

  11. It is convenient now to set out the relevant provisions of the Act, and to note this Court's settled view of the constitutional validity and proper construction of these provisions and their predecessors in order to lay the ground for a consideration of the reasons of the primary judge and the arguments advanced by the respondent in their support.

    The Act

  12. Section 4(1) states that the object of the Act is to "regulate, in the national interest, the coming into, and presence in, Australia of non-citizens". Section 4(2) states that, to "advance its object", the Act "provides for visas permitting non-citizens to enter or remain in Australia and the Parliament intends that this Act be the only source of the right of non-citizens to so enter or remain". Section 4(4) further states that, to "advance its object", the Act "provides for the removal ... from Australia of non-citizens whose presence in Australia is not permitted by this Act".

  13. Section 14 provides that an "unlawful non-citizen" is a non-citizen who is in the "migration zone" (in broad terms, Australia[9]) and is not a "lawful non-citizen". Section 13 provides that a "lawful non-citizen" is a non-citizen who is in the "migration zone" and holds an effective "visa". A visa provides permission to enter or remain in Australia[10].

    [9]See the Act, s 5(1).

    [10]The Act, s 29.

  14. The dichotomy between lawful non‑citizens and unlawful non‑citizens is fundamental to the scheme of ss 189, 196 and 198 of the Act whereby an unlawful non‑citizen is not at liberty to enter the Australian community. As Hayne J said in Plaintiff M47/2012 v Director‑General of Security[11]:

    "The Act provides no middle ground between being a lawful non-citizen (entitled to remain in Australia in accordance with any applicable visa requirements) and being an unlawful non-citizen, who may, usually must, be detained and who (assuming there is no pending consideration of a valid visa application) must be removed from Australia as soon as reasonably practicable."

    [11](2012) 251 CLR 1 at 78 [178].

  15. To this end, s 189(1) of the Act authorises and requires the Executive to detain unlawful non-citizens. It provides:

    "If an officer knows or reasonably suspects that a person in the migration zone ... is an unlawful non-citizen, the officer must detain the person."

  16. Read with the definition of "detain" in s 5(1) of the Act, s 189(1) has two distinct and sequential operations. First, it authorises and requires a person in the migration zone to be taken into immigration detention by an officer who knows or reasonably suspects that the person is an unlawful non-citizen. Secondly, it authorises and requires the person, having been taken into immigration detention, to be kept in immigration detention by or at the direction of an officer who knows or reasonably suspects that the person is an unlawful non-citizen.

  17. Section 196 governs the period for which a person taken into immigration detention is to be kept in immigration detention under s 189(1) by or at the direction of an officer who knows or reasonably suspects that the person is an unlawful non-citizen. It provides relevantly:

    "(1)An unlawful non-citizen detained under section 189 must be kept in immigration detention until:

    (a)he or she is removed from Australia under section 198 or 199; or

    (aa)an officer begins to deal with the non-citizen under subsection 198AD(3); or

    (b)      he or she is deported under section 200; or

    (c)      he or she is granted a visa.

    (2)To avoid doubt, subsection (1) does not prevent the release from immigration detention of a citizen or a lawful non‑citizen.

    (3)To avoid doubt, subsection (1) prevents the release, even by a court, of an unlawful non-citizen from detention (otherwise than as referred to in paragraph (1)(a), (aa) or (b)) unless the non-citizen has been granted a visa.

    ...

    (6)      This section has effect despite any other law.

    (7)      In this section:

    visa decision means a decision relating to a visa (including a decision not to grant the visa, to cancel the visa or not to reinstate the visa)."

  18. The authority and duty to detain an unlawful non‑citizen pursuant to s 189(1) for the period specified in s 196(1) is attended by an obligation on the Executive to effect the removal of an unlawful non‑citizen "as soon as reasonably practicable". This obligation is contained in s 198, which relevantly provides:

    "Removal on request

    (1)An officer must remove as soon as reasonably practicable an unlawful non-citizen who asks the Minister, in writing, to be so removed.

    ...

    Removal of unlawful non-citizens in other circumstances

    ...

    (6)An officer must remove as soon as reasonably practicable an unlawful non-citizen if:

    (a)the non-citizen is a detainee; and

    (b)the non-citizen made a valid application for a substantive visa that can be granted when the applicant is in the migration zone; and

    (c)      one of the following applies:

    (i)the grant of the visa has been refused and the application has been finally determined;

    (ii)      the visa cannot be granted; and

    (d)the non-citizen has not made another valid application for a substantive visa that can be granted when the applicant is in the migration zone."

  19. Section 197C was inserted into the Act to overcome decisions which had interpreted s 198 to the effect that it did not require the removal of an unlawful non-citizen where the removal would place Australia in breach of its non-refoulement obligations[12]. At the material time, s 197C provided:

    "(1)For the purposes of section 198, it is irrelevant whether Australia has non-refoulement obligations in respect of an unlawful non-citizen.

    (2)An officer's duty to remove as soon as reasonably practicable an unlawful non-citizen under section 198 arises irrespective of whether there has been an assessment, according to law, of Australia's non-refoulement obligations in respect of the non-citizen."

    The course of authority

    [12]Plaintiff M70/2011 v Minister for Immigration and Citizenship (2011) 244 CLR 144; Minister for Immigration and Citizenship v SZQRB (2013) 210 FCR 505. See Australia, House of Representatives, Migration and Maritime Powers Legislation Amendment (Resolving the Asylum Legacy Caseload) Bill 2014, Explanatory Memorandum at 165-166 [1135]‑[1140].

    The power of the Parliament

  20. Section 51(xix) of the Constitution empowers the Commonwealth Parliament to make laws with respect to aliens and immigration. It is uncontroversial that this power includes the making of laws restricting the entry into the Australian community of aliens who have not been given permission to enter under Australian law and providing for the removal of such persons. In Chu Kheng Lim v Minister for Immigration, Local Government and Ethnic Affairs, Gaudron J said[13]:

    "Aliens, not being members of the community that constitutes the body politic of Australia, have no right to enter or remain in Australia unless such right is expressly granted. Laws regulating their entry to and providing for their departure from Australia (including deportation, if necessary) are directly connected with their alien status."

    [13](1992) 176 CLR 1 at 57.

  21. It has long been recognised that a law that provides for the executive detention of an alien, in order to prevent unauthorised entry into the Australian community or to facilitate removal from Australia, is also within the scope of s 51(xix). In Koon Wing Lau v Calwell[14], Latham CJ, with whom McTiernan J agreed, discussing a challenge to the constitutional validity of a measure that provided for the detention of certain aliens pending deportation, said:

    "It is contended that [the measure] is invalid because it permits unlimited imprisonment. Any deprivation of liberty must be shown to be authorized by law before it can be justified. But deportation legislation is a necessary element in the control of immigration into a country. 'The power to deport', Barton J said in Robtelmes v Brenan[15]., 'is the complement of the power to exclude.' Deportation under legislation of this character, whether it is regarded as legislation relating to aliens or legislation relating to immigration, is not imposed as punishment for being an alien or for being an immigrant: Ex parte Walsh and Johnson; In re Yates[16]."

    [14](1949) 80 CLR 533 at 555; see also Falzon v Minister for Immigration and Border Protection (2018) 262 CLR 333 at 358 [92].

    [15](1906) 4 CLR 395.

    [16](1925) 37 CLR 36: see at 60, 96.

  22. The amplitude of the legislative power conferred by s 51(xix) is qualified by the implications of Ch III of the Constitution, involuntary detention being ordinarily within the exclusive province of the courts. In Lim[17], Brennan, Deane and Dawson JJ (Gaudron J relevantly agreeing) held that, exceptional cases aside, "the involuntary detention of a citizen in custody by the State is penal or punitive in character and ... exists only as an incident of the exclusively judicial function of adjudging and punishing criminal guilt". However, as their Honours explained[18], one such exceptional case, in which "authority to detain ... can be conferred on the Executive [by the Parliament] without infringement of Ch III's exclusive vesting of the judicial power of the Commonwealth in the courts which it designates", is:

    "authority to detain (or to direct the detention of) an alien in custody for the purposes of expulsion or deportation ... [including] authority to detain an alien in custody, when conferred in the context and for the purposes of executive powers to receive, investigate and determine an application by that alien for an entry permit and (after determination) to admit or deport".

    [17](1992) 176 CLR 1 at 27.

    [18]Chu Kheng Lim v Minister for Immigration, Local Government and Ethnic Affairs (1992) 176 CLR 1 at 32.

  23. Their Honours went on to hold that the predecessors of ss 189, 196(1) and 198 fell within this exception to the Ch III limitation on the power of the Parliament to authorise executive detention because "the detention which they require and authorize is limited to what is reasonably capable of being seen as necessary for the purposes of deportation or necessary to enable an application for an entry permit to be made and considered"[19]. The authority to detain conferred on the Executive by s 54L(1) and (2), the predecessor of ss 189(1) and 196(1), was characterised as an incident of the power to exclude, admit and deport non‑citizens[20], and was unanimously upheld as valid by the Court.

    [19]Chu Kheng Lim v Minister for Immigration, Local Government and Ethnic Affairs (1992) 176 CLR 1 at 33.

    [20]Chu Kheng Lim v Minister for Immigration, Local Government and Ethnic Affairs (1992) 176 CLR 1 at 33.

  1. Similarly, in Re Woolley; Ex parte Applicants M276/2003[21], Gleeson CJ, in a passage cited with approval by Crennan, Bell and Gageler JJ in Plaintiff M76/2013 v Minister for Immigration, Multicultural Affairs and Citizenship[22], explained that until the completion of the steps that terminate the period of detention of a non‑citizen required and authorised by the Act, "the non‑citizen has no legal right to enter the community, and a law providing for detention during the process of decision‑making is not punitive in nature".

    [21](2004) 225 CLR 1 at 14 [26].

    [22](2013) 251 CLR 322 at 369‑370 [139].

  2. Whether a law authorising or requiring detention is reasonably capable of being seen as necessary for the purpose of segregation pending receipt, investigation and determination of any visa application or removal of an unlawful non‑citizen depends on the connection between the detention and segregation or removal. In Al‑Kateb v Godwin[23], McHugh J explained:

    "A law requiring the detention of the alien takes its character from the purpose of the detention. As long as the purpose of the detention is to make the alien available for deportation or to prevent the alien from entering Australia or the Australian community, the detention is non‑punitive. The Parliament of the Commonwealth is entitled, in accordance with the power conferred by s 51(xix) and without infringing Ch III of the Constitution, to take such steps as are likely to ensure that unlawful non‑citizens do not enter Australia or become part of the Australian community and that they are available for deportation when that becomes practicable."

    [23](2004) 219 CLR 562 at 584 [45].

  3. The correctness of the constitutional holding in Al‑Kateb, that ss 189, 196 and 198 are valid insofar as they authorise and require detention of an unlawful non-citizen even where removal is not reasonably practicable in the foreseeable future, does not arise for consideration in the present case.

  4. In Plaintiff S4/2014 v Minister for Immigration and Border Protection[24], French CJ, Hayne, Crennan, Kiefel and Keane JJ referred to Lim, and went on to say that:

    "[D]etention under and for the purposes of the Act is limited by the purposes for which the detention is being effected. And it further follows that, when describing and justifying detention as being under and for the purposes of the Act, it will always be necessary to identify the purpose for the detention. Lawfully, that purpose can only be one of three purposes: the purpose of removal from Australia; the purpose of receiving, investigating and determining an application for a visa permitting the alien to enter and remain in Australia; or, in a case such as the present, the purpose of determining whether to permit a valid application for a visa."

    [24](2014) 253 CLR 219 at 231 [26]; see also Plaintiff M76/2013 v Minister for Immigration, Multicultural Affairs and Citizenship (2013) 251 CLR 322 at 370 [140].

  5. It is because the detention mandated by s 189(1) of the Act is temporally constrained by s 196(1) that the detention is capable of being seen as necessary for execution of the legitimate non‑punitive purposes of segregation pending receipt, investigation and determination of any visa application or removal. In Plaintiff S4, their Honours said[25]:

    "Section 196(1) prescribes the duration of immigration detention. It provides that an unlawful non-citizen must be kept in immigration detention until the happening of one of four events: removal from Australia under s 198 or s 199; an officer beginning the process under s 198AD(3) for removal to a regional processing country; deportation under s 200; or the grant of a visa. Of those four events, it is the first – removal from Australia under s 198(2) – which fixed the outer limit to the plaintiff's detention. ...

    [I]f none of the [last] three events [mentioned in s 196(1)] occurred, removal under s 198(2) had to occur 'as soon as reasonably practicable' (emphasis added).

    The duration of the plaintiff's lawful detention under the Act was thus ultimately bounded by the Act's requirement to effect his removal as soon as reasonably practicable. It was bounded in this way because the requirement to remove was the only event terminating immigration detention which, all else failing, must occur."

    [25](2014) 253 CLR 219 at 232‑233 [30], [32]‑[33].

  6. Their Honours had earlier said that[26]:

    "The duration of any form of detention, and thus its lawfulness, must be capable of being determined at any time and from time to time. Otherwise, the lawfulness of the detention could not be determined and enforced[27] by the courts, and, ultimately, by this Court."

    [26]Plaintiff S4/2014 v Minister for Immigration and Border Protection (2014) 253 CLR 219 at 232 [29].

    [27]Crowley's Case (1818) 2 Swans 1 at 61 [36 ER 514 at 531].

  7. In Plaintiff M96A/2016 v The Commonwealth[28], Kiefel CJ, Bell, Keane, Nettle, Gordon and Edelman JJ said that, by this last observation in Plaintiff S4, it had been meant that "there must be objectively determinable criteria for detention". Their Honours explained that this second limitation on the amplitude of the Parliament's power to authorise executive detention flows from the need to ensure that[29]:

    "Parliament cannot avoid judicial scrutiny of the legality of detention by [legislating] criteria which are too vague to be capable of objective determination. This would include an attempt to make the length of detention at any time dependent upon the unconstrained, and unascertainable, opinion of the Executive[30]."

    [28](2017) 261 CLR 582 at 597 [31].

    [29]Plaintiff M96A/2016 v The Commonwealth (2017) 261 CLR 582 at 597 [31].

    [30]Australian Communist Party v The Commonwealth (1951) 83 CLR 1 at 258.

  8. In Plaintiff M96A[31], the plurality concluded that ss 189(1) and 196(1) did not exceed the Parliament's power on this basis because:

    "The duration of the detention of transitory persons who are detained under s 189 of the Act is able to be objectively determined at any time, and from time to time. At any time it can be concluded that detention in Australia will conclude if any of the various preconditions [in s 196(1)] are met."

    [31](2017) 261 CLR 582 at 597 [32].

  9. To similar effect, Gageler J said[32]:

    "[T]he duration of the detention is capable of objective determination by a court at any time and from time to time. From the moment of the commencement of the detention under s 189, duration of the detention is made by s 196(1)(a) and (aa) to depend on performance of the duty to remove imposed by s 198(1A) or by s 198AD(2)."

    [32]Plaintiff M96A/2016 v The Commonwealth (2017) 261 CLR 582 at 600 [45].

    The application of the Act

  10. The nature of the duty to detain imposed by s 189(1) of the Act was explained by Hayne J (McHugh and Heydon JJ relevantly agreeing) in Al-Kateb[33]:

    "[T]he provision is mandatory; the legislature requires that persons of the identified class be detained and kept in detention. No discretion must, or even can, be exercised. No judgment is called for. The only disputable question is whether the person is an unlawful non-citizen."

    [33](2004) 219 CLR 562 at 647 [254].

  11. The duration of the detention required and authorised by s 196(1) is, as Hayne J said in Al-Kateb[34], "fixed by reference to the occurrence of any of [the four] specified events. Detention must continue 'until' one of those events occurs."

    [34](2004) 219 CLR 562 at 638 [226]. See also Plaintiff M96A/2016 v The Commonwealth (2017) 261 CLR 582 at 593 [19]; Plaintiff S4/2014 v Minister for Immigration and Border Protection (2014) 253 CLR 219 at 232‑233 [30].

  12. The combined effect of ss 189(1) and 196(1) is that a non‑citizen can be lawfully within the Australian community only if he or she has been granted a visa[35]. Otherwise, an unlawful non‑citizen must be detained until such time as he or she departs Australia by one of the means referred to in s 196(1), relevantly in this case removal under s 198. That removal is to be effectuated by the performance of the duty that s 198(6) places on officers of the Commonwealth to remove "as soon as reasonably practicable". This view of the relationship between s 196 and s 198 has consistently been accepted and applied in the Federal Court[36].

    [35]Subject to Love v The Commonwealth (2020) 94 ALJR 198; 375 ALR 597.

    [36]WAIS v Minister for Immigration and Multicultural and Indigenous Affairs [2002] FCA 1625 at [46]‑[49]; NAES v Minister for Immigration and Multicultural and Indigenous Affairs [2003] FCA 2 at [6]‑[7]; SHFB v Minister for Immigration and Multicultural and Indigenous Affairs [2003] FCA 29 at [10], [12]‑[13]; SHFB v Goodwin [2003] FCA 294 at [8]‑[12], [23]‑[25]; NAGA v Minister for Immigration and Multicultural and Indigenous Affairs [2003] FCA 224 at [10]‑[11], [64]; Daniel v Minister for Immigration and Multicultural and Indigenous Affairs (2003) 196 ALR 52 at 57 [15]‑[16], 63 [36]; CMA19 v Minister for Home Affairs [2020] FCA 736 at [225]‑[232].

  13. Similarly, with respect to the relationship between s 196 and the duty to grant or refuse a visa under s 65 in a reasonable time, in ASP15[37] the Full Court held that:

    "It follows that once a valid visa application has been made, unless and until a decision is made either to grant or refuse a visa, detention is authorised and required by s 196(1). This conclusion is consistent with the binding authority of Al-Kateb as to the nature of lawful detention and the meaning of s 196(1). ... Such detention does not cease to be for the purpose of considering and determining an application for a visa because the necessary process has not been completed within the time required by the Migration Act, be that time period express or implied. If in fact a court determines that the process to make a visa decision has gone on for too long, it nonetheless remains detention for that purpose and is both validly authorised and required by s 196(1) of the Migration Act. The normal remedy is court action to compel a visa decision to be made, one way or the other."

    [37](2016) 248 FCR 372 at 382-383 [40].

  14. Bearing on each of the two steps in the reasoning of the primary judge now to be considered, the Full Court in ASP15 continued[38]:

    "Nor does any question of inconsistency with Ch III of the Constitution of the Commonwealth arise. Detention while a visa application is being considered does not deprive that detention of its statutory purpose because a reasonable time to make a decision about a visa in furtherance of that purpose has been exceeded.

    ... The regime for immigration detention is valid for the purposes of making a visa decision precisely because it imposes an obligation on the Minister to make that decision within whatever time limit applies; detention only remains valid so long as such a purpose under the Migration Act continues to exist. In the case of detention pending a visa decision, failure to do so within the required time renders the Minister liable to the issue of a writ of mandamus to compel him or her to perform their statutory duty. However it does not render invalid the provision which authorises detention in the first place. So long as the Migration Act validly continues to authorise detention, there can be no claim for false imprisonment or habeas corpus." (emphasis in original)

    [38](2016) 248 FCR 372 at 383 [41]-[42].

    The reasons of the primary judge

  15. The primary judge found that the Commonwealth had failed to remove the respondent "as soon as reasonably practicable" as required by s 198[39], and proceeded to hold that this failure by officers of the Executive involved a "departure from the requisite removal purpose for [the respondent's] detention"[40]. On that footing, the primary judge proceeded to the conclusion that the detention of the respondent was no longer for the purpose of removal and was therefore unlawful[41].

    [39]AJL20 v The Commonwealth [2020] FCA 1305 at [123]-[125], [170].

    [40]AJL20 v The Commonwealth [2020] FCA 1305 at [128], [171].

    [41]AJL20 v The Commonwealth [2020] FCA 1305 at [75], [128], [171].

  16. The primary judge's reasoning involved two steps that are in controversy. First, his Honour read down s 196(1) by treating the period of detention to which it refers as dependent not upon the existence of the duty to remove as soon as reasonably practicable in s 198(6), but upon the performance of that duty in fact by the Executive. His Honour considered this reading down of s 196(1) to be necessary to preserve its constitutional validity. Secondly, his Honour concluded that non‑compliance by the Executive with s 198(6) gave rise to a "departure" from the purpose of the detention authorised and required by ss 189(1) and 196(1), so that thereafter the detention of the respondent by the Executive was no longer for the purpose of his removal.

  17. The primary judge then proceeded to hold that "an order in the nature of a writ of habeas corpus" requiring the respondent's release was necessary to "remediate [his] unlawful detention" and maintain the rule of law[42]. His Honour considered that an order of this kind was not rendered inutile because s 189(1) of the Act would require the respondent to be immediately re‑detained. His Honour took that view because, in the proceedings before him, the Commonwealth maintained its adherence to a policy of non‑refoulement in relation to the respondent despite the terms of s 197C. That being so, his Honour considered that s 189(1) would not authorise the respondent's re‑detention because, by reason of the Executive's erroneous adherence to this policy, any further detention would continue not to be for the purpose of his removal[43].

    [42]AJL20 v The Commonwealth [2020] FCA 1305 at [72]‑[73], [174]-[175].

    [43]AJL20 v The Commonwealth [2020] FCA 1305 at [175].

  18. For the reasons that follow, the steps by which the learned primary judge reasoned to his conclusion are flawed.

    Step 1: Reading down s 196(1)

  19. The primary judge approached the construction of s 196 of the Act "in light of the constitutional constraints upon administrative detention which flow from Chapter III of the Constitution ... which provides for the separation of judicial power from the executive and legislative powers"[44]. In his Honour's view, endorsed by the respondent on appeal, the scheme of immigration detention could not, given the implications of Ch III, validly be enacted by the Parliament under s 51(xix) of the Constitution save where the Executive could be shown in any particular case to perform its obligations to remove the detainee as soon as reasonably practicable. This approach conflated questions of constitutional validity with questions of statutory interpretation, and questions concerning the purpose of the Act with questions concerning the purpose of the officers of the Executive bound by it. It was also contrary to the clear course of authority.

    [44]AJL20 v The Commonwealth [2020] FCA 1305 at [17].

    The constitutional and statutory questions

  20. When the Executive executes a statute of the Commonwealth, as opposed to exercising its common law prerogatives and capacities[45] or whatever authority is inherent in s 61 of the Constitution[46], the constitutional question is whether the statutory authority conferred on the Executive is within the competence of the Parliament; the statutory question is whether the executive action in question is authorised by the statute. If the statute, properly construed, can be seen to conform to constitutional limitations upon legislative competence without any need to read it down to save its validity[47], then it is valid in all its applications, and no further constitutional issue arises. The question then is whether the executive action in question was authorised by the statute, with that question to be resolved by reference to the statute as a matter of administrative law[48]. As French CJ, Gummow, Hayne, Crennan and Bell JJ said in Wotton v Queensland[49]:

    "[I]f, on its proper construction, the statute complies with the constitutional limitation, without any need to read it down to save its validity, any complaint respecting the exercise of power thereunder in a given case ... does not raise a constitutional question, as distinct from a question of the exercise of statutory power."

    [45]See Davis v The Commonwealth (1988) 166 CLR 79 at 108; Williams v The Commonwealth [No 2] (2014) 252 CLR 416.

    [46]See Pape v Federal Commissioner of Taxation (2009) 238 CLR 1.

    [47]See Federal Commissioner of Taxation v Munro (1926) 38 CLR 153 at 180; Acts Interpretation Act 1901 (Cth), s 15A and its State and Territory equivalents.

    [48]Wotton v Queensland (2012) 246 CLR 1 at 9‑10 [10], 13‑14 [21], [24], 29‑30 [74]. See also Comcare v Banerji (2019) 267 CLR 373 at 405‑406 [44], 421‑422 [96]; Palmer v Western Australia (2021) 95 ALJR 229 at 245 [65], 254 [118]‑[120], 270-271 [200]‑[202], 274 [224]; 388 ALR 180 at 196, 208, 229-230, 234.

    [49](2012) 246 CLR 1 at 14 [22]; see also Palmer v Western Australia (2021) 95 ALJR 229 at 245 [64]-[68], 255 [127], 270-271 [201]-[202], 275 [226], 276 [230]‑[231]; 388 ALR 180 at 196-197, 210, 229-230, 235, 236-237.

  21. As has been noted, it is well‑settled that the Act does not permit detention of a non-citizen for purposes unconnected with entry into, or exclusion or removal from, the community. The detention authorised by ss 189(1) and 196(1) of the Act is reasonably capable of being seen as necessary for the legitimate non-punitive purposes of segregation pending investigation and determination of any visa application or removal[50]. This is because the authority and obligation of the Executive to detain unlawful non-citizens is hedged about by enforceable duties, such as that in s 198(6), that give effect to legitimate non-punitive purposes. Upon performance of these duties, the detention is brought to an end.

    [50]Chu Kheng Lim v Minister for Immigration, Local Government and Ethnic Affairs (1992) 176 CLR 1 at 17, 29, 32‑34, 36, 38; Al‑Kateb v Godwin (2004) 219 CLR 562 at 584‑586 [45]‑[48], 650‑651 [266]‑[267], 658 [289], 660‑661 [295]; Re Woolley; Ex parte Applicants M276/2003 (2004) 225 CLR 1 at 31‑32 [72]‑[73], 75‑77 [222]‑[228], 85‑86 [264].

  22. As was explained in Plaintiff M96A, the existence of these hedging duties also means that the duration, and thus lawfulness, of the detention authorised by the Act is capable of determination from time to time[51]. It is because these duties are enforceable that "the length of detention [is not] at any time dependent upon the unconstrained, and unascertainable, opinion of the Executive"[52]. Accordingly, ss 189(1) and 196(1) are valid. There is no need to read them down to save their validity. They are valid in all their potential applications. As has been observed, it is because the duration of the detention of an unlawful non‑citizen must end, either upon the grant of a visa or upon the removal of the non‑citizen from Australia, that immigration detention under the Act is not punishment within the exclusive province of judicial power. That is so because the terms of the Act circumscribe the purposes of detention of an unlawful non‑citizen so that they do not include punishment. The purposes of the Act, and the consequent validity of the Act, cannot be set at nought by the intents or purposes of the officers of the Executive whose duty it is to enforce the Act.

    [51](2017) 261 CLR 582 at 597 [32], 600 [45].

    [52]Compare Plaintiff M96A/2016 v The Commonwealth (2017) 261 CLR 582 at 597 [31].

  23. Accordingly, there was no warrant for the primary judge to hold that, in order to preserve its constitutional validity, "it is not possible to read the directive in s 196(1)(a) as authorising detention 'until' the fact or the event of the removal of the detainee from Australia"[53]. There is likewise no constitutional need to read the words "until ... he or she is removed from Australia" as referring "not to the fact of removal but to the time and effort necessary, as a matter of reasonable practicability, to effectuate the purpose of detention"[54] such that the period of detention authorised under s 196 ceases to be authorised when removal should have occurred had officers of the Executive acted with all reasonable despatch[55].

    [53]AJL20 v The Commonwealth [2020] FCA 1305 at [44]-[45].

    [54]AJL20 v The Commonwealth [2020] FCA 1305 at [45].

    [55]AJL20 v The Commonwealth [2020] FCA 1305 at [89].

  1. The primary judge noted[56] that the plurality in Plaintiff M96A[57] said, in relation to the event listed in s 196(1)(a), that "it is a condition that removal must occur as soon as reasonably practicable". His Honour took this statement to support the view that the detention of an unlawful non‑citizen ceases to be authorised by the Act immediately, where there has been a delay in the Executive's performance of the duty imposed by s 198. The respondent sought to rely upon the reasoning of Brennan, Deane and Dawson JJ in Lim[58] in support of much the same proposition. The respondent's contention was to the effect that only where the Executive properly performs the duties that establish the legitimate non‑punitive purposes of the Act can the unlawful non-citizen's detention ordained by the Parliament be reasonably capable of being seen as necessary for legitimate non‑punitive purposes.

    [56]AJL20 v The Commonwealth [2020] FCA 1305 at [48].

    [57](2017) 261 CLR 582 at 593 [20].

    [58](1992) 176 CLR 1 at 33‑36.

  2. Neither Plaintiff M96A nor Lim suggests that the operation of s 189(1) is conditioned upon s 198(6) in this manner, either as a matter of ordinary construction or in order to preserve its constitutional validity. When read in the context of the observation that "detention in Australia will conclude if any of the various preconditions [in s 196(1)] are met"[59], the statement of the plurality in Plaintiff M96A does not suggest that the authority and duty to detain imposed by s 189(1) disappears immediately upon delay in the performance of the hedging duty in s 198(6). Nor can one discern in, or attribute to, the plurality's statement in Plaintiff M96A or the reasoning in Lim (or the passages in Plaintiff S4 to which reference has been and will be made) any adherence to the heresy that, where a law is within the Parliament's competence because of the imposition of duties on officers of the Executive, delay in performance of those duties by those officers can take the law outside Parliament's competence. A failure by the Executive diligently to perform the duties that give effect to the legitimate non-punitive purposes for which detention is authorised and required by the Act erases neither those duties nor the statutory purposes which those duties support. Were it otherwise, the supremacy of the Parliament over the Executive would be reversed and the rule of law subverted[60].

    [59]Plaintiff M96A/2016 v The Commonwealth (2017) 261 CLR 582 at 597 [32].

    [60]See Dicey, Introduction to the Study of the Law of the Constitution, 10th ed (1959) at 202-203; Australian Communist Party v The Commonwealth (1951) 83 CLR 1 at 193.

    Detention until removal

  3. As has been seen, it is well‑settled that the detention authorised by s 189(1) must continue until the first occurrence of a terminating event specified in s 196(1). The text of s 196(1) is clear: a person detained under s 189 "must be kept in immigration detention until", relevantly, "he or she is removed from Australia under section 198". The word "until", used in its ordinary sense of "up to the time"[61] and in conjunction with the word "kept", refers to an ongoing or continuous state of affairs that is to be maintained up to the time that the event (relevantly, the grant of a visa or removal) actually occurs. As much is confirmed by s 196(3), to which the primary judge did not refer, in its provision that an unlawful non‑citizen may be "release[d]" from detention only in the ways set out in s 196(1). In so providing, s 196 gives effect to the binary division drawn by the Act between lawful non‑citizens, who may be at liberty in the community, and unlawful non‑citizens, who must not be. Thus, as was explained by Hayne J in Plaintiff M76[62]:

    "The requirement of s 196(1) that an unlawful non‑citizen detained under s 189 must be kept in immigration detention 'until' the happening of one of [the four terminating events prescribed by s 196(1)] cannot be construed as using the word 'until' in some purposive sense. One of the terminating events is the grant of a visa and it is not to be supposed that detention could be for the purpose of granting the person detained a visa. It thus follows that the word 'until' must be read in s 196(1) as fixing the end of detention, not as fixing the purpose or purposes for which detention is or may be effected."

    [61]Oxford English Dictionary, 2nd ed (1989), vol 19 at 234, Meaning 5(a): "Onward till (a time specified or indicated); up to the time of (an action, occurrence, etc)".

    [62](2013) 251 CLR 322 at 366 [126].

  4. As much had earlier been recognised in WAIS[63], where French J concluded that:

    "The language of s 196 ... seems to me to be intractable. The detention there prescribed is ended only by one of the terminating events. The removal obligation for which s 198 provides does not seem to have been enacted for any purpose protective of the rights of detainees. Rather it facilitates the expeditious removal from Australia of unlawful non-citizens. The remedy for a failure in the discharge of that duty may be mandamus, possibly directed to the Minister." (emphasis added)

    [63][2002] FCA 1625 at [56]; see also Minister for Immigration and Multicultural and Indigenous Affairs v Al Masri (2003) 126 FCR 54 at 88 [134].

  5. The duty imposed upon officers of the Executive by ss 189(1) and 196(1) of the Act is to detain the unlawful non‑citizen until the occurrence of one of the events referred to in s 196. The duty so imposed by the Act is neither conditional upon, nor co‑extensive with, the intents or purposes of officers of the Executive towards the detainee.

  6. Where the Executive is dilatory in performing the hedging duties imposed upon it, as French J observed, the remedy of mandamus is available to compel the proper performance of those duties[64]. It is precisely because the hedging duties may be enforced so as to bring the detention of the unlawful non‑citizen to an end that the executive detention authorised and required by ss 189 and 196 can be seen to be within the Parliament's power under s 51(xix) of the Constitution as limited by the implications of Ch III. These hedging duties are not things written in water. A failure on the part of the responsible officers of the Executive to comply with an order of the court mandating performance of their statutory duties may result in those officers being committed to prison for contempt of court[65]. By this means, judicial power is exercised to give effect to the scheme of the Act, enforcing the supremacy of the Parliament over the Executive[66].

    [64]See Plaintiff S297/2013 v Minister for Immigration and Border Protection (2015) 255 CLR 231.

    [65]M v Home Office [1994] 1 AC 377; see also AFX17 v Minister for Home Affairs [No 4] [2020] FCA 926.

    [66]M v Home Office [1994] 1 AC 377 at 395.

  7. The duty imposed by s 198(6) was enforceable at all times during the 14 months when the responsible officers of the Executive were failing to perform that duty in the present case. At all times during this period, they were amenable to mandamus to require them to perform that duty. But at all times, their duty was to remove the respondent from Australia. Nothing happened that might, consistently with the Act, require or permit them to set the respondent at large in Australia. Not surprisingly, perhaps, given that Syria was the likely destination for removal, at no stage did the respondent demand that the duty under s 198(6) be performed. The decision of the primary judge is thus attended by the supreme irony that the failure of the Executive to perform a duty which the respondent did not at any time seek to have performed has led to the admission of the respondent into the Australian community contrary to the duty of the Executive and to the clear intention of the Act as to the circumstances in which an unlawful non‑citizen might be admitted into the Australian community.

    Koon Wing Lau

  8. The respondent sought to support the primary judge's view that the word "until" in s 196(1) should be understood as being constrained by the ability and intent of officers of the Executive to give effect to the statutory purpose of detention by reference to Koon Wing Lau. That submission cannot be accepted.

  9. Koon Wing Lau[67] was relevantly concerned with a challenge to the validity of s 7 of the War‑time Refugees Removal Act 1949 (Cth) ("the WRR Act"), which provided for the detention of "deportees", who included aliens who had entered Australia during the period of the Second World War, or who entered Australia as a place of refuge and had not left Australia since so entering. Section 7 provided relevantly that:

    "A deportee may –

    (a)pending his deportation and until he is placed on board a vessel for deportation from Australia;

    ...

    be kept in such custody as the Minister or an officer directs."

    [67](1949) 80 CLR 533 at 550.

  10. In rejecting the challenge to the validity of s 7 on the basis that it permitted "unlimited imprisonment", Latham CJ (with whom McTiernan J agreed) said[68]:

    "Section 7 does not create or purport to create a power to keep a deportee in custody for an unlimited period. The power to hold him in custody is only a power to do so pending deportation and until he is placed on board a vessel for deportation ... If it were shown that detention was not being used for these purposes the detention would be unauthorized and a writ of habeas corpus would provide an immediate remedy."

    [68]Koon Wing Lauv Calwell (1949) 80 CLR 533 at 556.

  11. Dixon J, having referred to the "imperative language" of s 5 of the WRR Act, which provided that a person in respect of whom a deportation order is made "shall be deported in accordance with [that] Act", said[69]:

    "In s 7(1)(a) I think that the words 'pending deportation' imply purpose. The two provisions together mean that a deportee may be held in custody for the purpose of fulfilling the obligation to deport him until he is placed on board the vessel. It appears to me to follow that unless within a reasonable time he is placed on board a vessel he would be entitled to his discharge on habeas. In these circumstances the provision is, I think, a law with respect to the removal of the alien or refugee and falls within the respective powers justifying that removal."

    [69]Koon Wing Lau v Calwell (1949) 80 CLR 533 at 581.

  12. Similarly, Williams J said[70]:

    "The Act does not provide that a deportee shall be deported from Australia within a specified period. It was submitted that under this provision a deportee could be kept in custody indefinitely and never deported, so that it is not a law with respect to the deportation of aliens at all but a law which in substance and effect authorizes the indefinite incarceration of the members of a certain class of persons. But a deportee may only be kept in custody pending his deportation and until he is placed on board a vessel for deportation from Australia, so that, if it appeared that a deportee was being kept in custody not with a view to his deportation but simply with a view to his imprisonment for an indefinite period, the custody would be illegal. This fact might be difficult to prove but the omission to fix a period within which the deportee must be placed on board a vessel for deportation from Australia is not sufficient, in my opinion, to prevent s 7 ... being a law with respect to aliens. It would obviously be difficult to fix such a period."

    [70]Koon Wing Lau v Calwell (1949) 80 CLR 533 at 586.

  13. These statements do not support the primary judge's construction of "until" in s 196(1) of the Act. Section 7 of the WRR Act applied to aliens who may have been lawfully at liberty within the Australian community unless the WRR Act authorised their detention and deportation. At the time, there was no statutory equivalent of ss 189 and 196 of the Act; and nothing in the report of the case suggests that any of the persons liable to deportation had entered Australia unlawfully. As Callinan J noted in Al‑Kateb[71], Dixon J was not discussing the scope of the constitutional power with respect to aliens, but was construing the language of the WRR Act and the authority conferred thereby on the Executive. Latham CJ and Williams J were similarly concerned with the extent of the statutory authority conferred on the Executive.

    [71](2004) 219 CLR 562 at 657 [288].

  14. Detention of deportees under s 7 was at the discretion of the Executive. If officers of the Executive chose to detain a person for purposes other than to effect their deportation, as might be evidenced by a failure to deport the person within a reasonable time, s 7 did not authorise that person's detention. If a person's detention was unauthorised, it followed that the status quo ex ante, being at liberty in the community, ought to be restored by way of habeas.

  15. In contrast, ss 189 and 196 of the Act require the segregation of unlawful non‑citizens, both before they are admitted pursuant to a visa and in order to facilitate their removal if a visa is not granted[72]. Given this statutory requirement, it matters not why an officer of the Executive might detain a person because, provided that person is in fact an unlawful non-citizen, the Parliament has required that he or she be detained[73]. Because the evident intention of the Act is that an unlawful non‑citizen may not, in any circumstances, be at liberty in the Australian community, no question of release on habeas can arise. As Hayne J, with whom McHugh and Heydon JJ relevantly agreed, said in Al‑Kateb[74]:

    "The questions which arise about mandatory detention do not arise as a choice between detention and freedom. The detention to be examined is not the detention of someone who, but for the fact of detention, would have been, and been entitled to be, free in the Australian community."

    [72]See Al-Kateb v Godwin (2004) 219 CLR 562 at 647 [254].

    [73]See Al-Kateb v Godwin (2004) 219 CLR 562 at 647 [254].

    [74](2004) 219 CLR 562 at 637 [219], see also at 662 [299]. To similar effect, see Plaintiff M76/2013 v Minister for Immigration, Multicultural Affairs and Citizenship (2013) 251 CLR 322 at 379-380 [182]‑[183].

  16. It is also convenient to note here a statement of the Full Court of the Federal Court (Black CJ, Sundberg and Weinberg JJ) in Minister for Immigration and Multicultural and Indigenous Affairs v Al Masri[75], in the course of reasoning to a conclusion disapproved by this Court in Al‑Kateb. After correctly stating that "[i]f the Minister were not fulfilling his duty under s 198(1) to remove as soon as reasonably practicable the detention would ... still be lawful and the appropriate remedy would be an order in the nature of mandamus to compel the Minister to take the steps required for the performance of his duty"[76], the Full Court went on incorrectly to state[77]:

    "The Minister's purpose in detaining, however, must be the bona fide purpose of removal. Otherwise the detention would not be lawful. If the Minister were to hold a person in detention without such a purpose, then the detention would be unlawful and the person entitled to relief in the nature of habeas corpus. This conclusion is consistent with the decision of the High Court in Park Oh Ho v Minister for Immigration and Ethnic Affairs[78]".

    [75](2003) 126 FCR 54.

    [76]Minister for Immigration and Multicultural and Indigenous Affairs v Al Masri (2003) 126 FCR 54 at 88 [134].

    [77]Minister for Immigration and Multicultural and Indigenous Affairs v Al Masri (2003) 126 FCR 54 at 88 [135].

    [78](1989) 167 CLR 637.

  17. In this regard, the Full Court misunderstood Park Oh Ho. In that case, this Court held that a deportation order purportedly made in the exercise of a discretion to order deportation then conferred by the Act was invalid because the deportation order had been made for the ulterior purpose of keeping the deportees available to be witnesses in a pending criminal prosecution. As a result of the invalidity of the deportation order, the detention of the appellants was unlawful because the authority to detain under the relevant provisions of the Act was confined to "deportees" and they were no longer "deportees"[79]. Nothing in the decision or reasons in Park Oh Ho sheds light on the operation of s 189, s 196 or s 198 of the Act.

    [79]Park Oh Ho v Minister for Immigration and Ethnic Affairs (1989) 167 CLR 637 at 640-641, 643.

    The validity of s 196(3)

  18. In an attempt to avoid the difficulty of reconciling the primary judge's construction of s 196(1) with s 196(3), the respondent argued that s 196(3) is invalid on the same basis its predecessor, s 54R, was held to be invalid in Lim. This submission cannot be accepted. Section 54R provided that "[a] court is not to order the release from custody of a designated person". Section 54Q had the effect that a designated person's detention would cease to be authorised upon the expiry of a specified time period. The expression "designated person" was defined in s 54K in such a way that "status ... as a 'designated person' does not automatically cease when detention in custody is no longer authorized by" the Act[80].

    [80]Chu Kheng Lim v Minister for Immigration, Local Government and Ethnic Affairs (1992) 176 CLR 1 at 35.

  19. In Lim[81], Brennan, Deane and Dawson JJ (Gaudron J agreeing) held that, given that circumstances could exist in which a designated person may be unlawfully held in custody in purported pursuance of the Act, "it necessarily follow[ed] that the provision of s 54R [was] invalid". Their Honours went on to say[82]:

    "In terms, s 54R is a direction by the Parliament to the courts as to the manner in which they are to exercise their jurisdiction. It is one thing for the Parliament, within the limits of the legislative power conferred upon it by the Constitution, to grant or withhold jurisdiction. It is a quite different thing for the Parliament to purport to direct the courts as to the manner and outcome of the exercise of their jurisdiction. The former falls within the legislative power which the Constitution, including Ch III itself, entrusts to the Parliament. The latter constitutes an impermissible intrusion into the judicial power which Ch III vests exclusively in the courts which it designates."

    [81](1992) 176 CLR 1 at 36.

    [82]Chu Kheng Lim v Minister for Immigration, Local Government and Ethnic Affairs (1992) 176 CLR 1 at 36‑37.

  20. In NAMU of 2002 v Minister for Immigration and Multicultural and Indigenous Affairs[83], Black CJ, Sundberg and Weinberg JJ observed, correctly, that "[s] 196 lacks the two features that were fatal to s 54R" in that s 196 is confined in its operation to "unlawful non‑citizens", that is, persons who are not lawfully present in Australia; and, further, unlike s 54R, which purported to preclude a court from ordering the release of persons whose detention had become unlawful, s 196 "precludes a court from ordering the release of persons who are lawfully detained". On that basis, s 196 "does no more than restate this axiomatic position"[84] in order to put beyond doubt the incorrectness of interpretations of the kind adopted by the primary judge. Section 196(2) confirms that this is so.

    [83](2002) 124 FCR 589 at 595 [10].

    [84]NAMU of 2002 v Minister for Immigration and Multicultural and Indigenous Affairs (2002) 124 FCR 589 at 595 [10].

    Step 2: Delay, departure and detention for an unauthorised purpose

  21. It must be accepted upon the unchallenged findings of fact made by the primary judge that officers of the Executive were distracted from their duty under s 198(6) of the Act by an irrelevant consideration, namely the breach by Australia of its non‑refoulement obligations if the option of removing the respondent to Syria were to be pursued. It may also be accepted that on his Honour's findings of fact, more might have been done to remove the respondent from Australia. The primary judge made the leap, from a finding of a failure by the Executive to remove the respondent as soon as reasonably practicable as required by s 198(6), to the conclusion that the Executive was detaining the respondent for a purpose other than his removal from Australia[85]. This leap was not justified by any finding of fact, or indeed by any evidence, but was understood by his Honour to be required by the following passage from the reasons of this Court in Plaintiff S4[86]:

    "The duration of the plaintiff's lawful detention under the Act was thus ultimately bounded by the Act's requirement to effect his removal as soon as reasonably practicable. It was bounded in this way because the requirement to remove was the only event terminating immigration detention which, all else failing, must occur.

    It follows that the Executive's consideration (while the plaintiff was in immigration detention) of whether he might seek and be granted a protection visa had to be undertaken within that framework. As already observed, the authority to detain the plaintiff is an incident of the power of the Executive to remove the plaintiff or to permit him to enter and remain in Australia, and the plaintiff's detention is limited to what is reasonably capable of being seen as necessary to effect those purposes. The purpose for his detention had to be carried into effect as soon as reasonably practicable. That is, consideration of whether a protection visa may be sought by or granted to the plaintiff had to be undertaken and completed as soon as reasonably practicable. Departure from that requirement would entail departure from the purpose for his detention and could be justified only if the Act were construed as permitting detention at the discretion of the Executive. The Act is not to be construed as permitting detention of that kind."

    [85]AJL20 v The Commonwealth [2020] FCA 1305 at [25]‑[34], [40]‑[46], [69].

    [86](2014) 253 CLR 219 at 233 [33]‑[34].

  1. In this respect, the primary judge was mistaken. Plaintiff S4 does not authorise reasoning from a finding of want of proper diligence in the performance of the duty to remove to a conclusion that some unauthorised punitive purpose is being pursued by the Executive.

  2. In Plaintiff S4, the circumstances of the unlawful non-citizen were such as to have engaged the requirement that he be removed from Australia as soon as reasonably practicable pursuant to s 198(2) of the Act. Notwithstanding that the duty to remove had been triggered, the Minister embarked upon a consideration of whether to exercise the power conferred by s 46A(2) of the Act to lift the bar imposed by s 46A(1), preventing the detainee from making a valid application for a visa[87]. As a result, the plaintiff's detention went beyond detention referable only to the performance of the duty pursuant to s 198(2) and became detention for the purpose of the Minister's consideration of whether to exercise the s 46A(2) power. The Court held that, because s 198(2) was the dominant provision and the obligation thereunder to remove "as soon as reasonably practicable" had already been triggered, the temporal limit applied also to the decision under s 46A(2). In the context where the plaintiff's detention had been prolonged to allow the Minister to consider whether to exercise the power conferred by s 46A(2), the Minister was not permitted then to exercise the separate power to grant a visa pursuant to s 195A(2). The grant of that visa foreclosed the exercise of the power under s 46A before a decision was made and thus deprived the prolongation of detention of its purpose[88].

    [87]Plaintiff S4/2014 v Minister for Immigration and Border Protection (2014) 253 CLR 219 at 232‑234 [28]‑[35].

    [88]Plaintiff S4/2014 v Minister for Immigration and Border Protection (2014) 253 CLR 219 at 235 [41], 237 [46]-[47].

  3. When, in Plaintiff S4[89], the Court said that "[d]eparture from that requirement [to carry the purpose into effect as soon as reasonably practicable] would entail departure from the purpose for ... detention [of the unlawful non‑citizen] and could be justified only if the Act were construed as permitting detention at the discretion of the Executive", their Honours were concerned to emphasise why administrative steps that prolonged detention must be taken within the framework of the Act and subject to its implicit temporal limits. Their Honours were not expressing a conclusion that failure to comply with a duty to bring about one of the terminating events in s 196(1) had the consequence that, ipso facto, detention became unlawful.

    [89](2014) 253 CLR 219 at 233 [34].

  4. The notion that pursuit by the Executive of a purpose that is unauthorised or even prohibited by the Act might render the detention mandated by s 189(1) during the period mandated by s 196(1)(a) invalid is in any event problematic for the reasons that have already been given. Further, as Selway J explained in Alsalih v Manager, Baxter Immigration Detention Facility[90]:

    "In contrast to the exercise of a discretionary power, there is no necessary requirement that a statutory duty be exercised bona fide and for the purpose for which the power was given. To give a simple example, if a Sheriff has a warrant to hold a prisoner in gaol the duty to do so exists no matter whether the Sheriff is bona fide and no matter what his or her purpose might be. Otherwise, an officer could avoid a statutory duty merely by disagreeing with it."

    [90](2004) 136 FCR 291 at 309 [56].

  5. It is enough for the duty to detain imposed by s 189(1) to be sustained in accordance with s 196(1)(a) until completion of the performance of the duty to remove imposed by s 198 that the officer keeping or causing the person to be kept in immigration detention knows or reasonably suspects that the person is an unlawful non-citizen. Provided the requisite knowledge or suspicion continues to exist throughout the period of detention[91], an unauthorised or prohibited purpose on the part of the officer in prolonging the period of detention can affect neither the duty to detain nor the duty to remove nor the appropriate remedy for non-performance of the duty to remove.

    [91]cf Guo v The Commonwealth (2017) 258 FCR 31 at 56 [83].

    Conclusion

  6. The conclusion that officers of the Executive have not discharged their statutory duty to remove the respondent from Australia as soon as reasonably practicable affords a basis for orders requiring that they do their duty. Orders to that effect are appropriate to enforce the scheme of the Act. In contrast, to order that the respondent be released into the Australian community because officers of the Executive have not performed their statutory duty to remove him from Australia is to subvert that scheme.

  7. It is evident that the Executive found the prospect of the removal of the respondent to Syria in breach of Australia's non‑refoulement obligations unpalatable. In that regard, it is equally evident that, if the Minister wished to avoid the realisation of that unpalatable prospect, a visa might be granted to the respondent – precisely as the Explanatory Memorandum to the Bill that introduced s 197C contemplated[92]:

    "Australia will continue to meet its non-refoulement obligations through other mechanisms and not through the removal powers in section 198 of the Migration Act. For example, Australia's non-refoulement obligations will be met through ... the Minister's personal powers in the Migration Act, including those under section ... 195A ... of the Migration Act." (emphasis added)

    [92]Australia, House of Representatives, Migration and Maritime Powers Legislation Amendment (Resolving the Asylum Legacy Caseload) Bill 2014, Explanatory Memorandum at 166 [1142]. See also Australia, House of Representatives, Parliamentary Debates (Hansard), 25 September 2014 at 10548‑10549.

    Orders

  8. In the compensation proceeding, C16/2020:

    (a)the appeal should be allowed, and the orders of the Federal Court of Australia made on 29 September 2020 be set aside, and in their place it be ordered that the proceeding be dismissed with costs;

    (b)the respondent must pay the appellant's costs of the appeal to this Court.

  9. In the specific relief proceeding, C17/2020:

    (a)the appeal should be allowed, and the orders of the Federal Court of Australia made on 11 September 2020 be set aside, and in their place it be ordered that the application filed in the Federal Circuit Court of Australia on 12 May 2020 and transferred to the Federal Court of Australia on 27 May 2020 be dismissed with costs;

    (b)the respondent must pay the appellant's costs of the appeal to this Court.

  10. GORDON AND GLEESON JJ.   The Migration Act 1958 (Cth) authorises the Executive (relevantly referred to as "an officer"[93]) to detain an unlawful non‑citizen[94] and to keep that person in detention ("immigration detention")[95]. The authority the Migration Act gives the Executive to keep a person in immigration detention is not unlimited. The Migration Act provides for when detention must begin and when it must end.

    [93]Migration Act, s 5(1) definition of "officer".

    [94]Migration Act, ss 13 and 14.

    [95]Migration Act, ss 189, 196, 198. See Plaintiff M61/2010E v The Commonwealth (2010) 243 CLR 319 at 337 [19]-[20]; Plaintiff S4/2014 v Minister for Immigration and Border Protection (2014) 253 CLR 219 at 232-233 [30].

  11. The plurality in Chu Kheng Lim v Minister for Immigration, Local Government and Ethnic Affairs[96] held that there are limits on the Executive's authority to detain an alien in custody "when conferred in the context and for the purposes of executive powers to receive, investigate and determine an application by that alien for an entry permit and (after determination) to admit or deport" and that those limits are necessary to ensure that Executive detention does not infringe Ch III of the Constitution.

    [96](1992) 176 CLR 1 at 32. See also Plaintiff M68/2015 v Minister for Immigration and Border Protection (2016) 257 CLR 42 at 161‑162 [384]‑[385].

  12. Continuing detention beyond the limits necessary for constitutional validity is unlawful[97]. As Crennan, Bell and Gageler JJ explained in Plaintiff M76/2013 v Minister for Immigration, Multicultural Affairs and Citizenship[98]:

    "laws authorising or requiring the detention in custody by the executive of non-citizens, being laws with respect to aliens within s 51(xix) of the Constitution, will not contravene Ch III of the Constitution, and will therefore be valid, only if: 'the detention which they require and authorise is limited to what is reasonably capable of being seen as necessary for the purposes of deportation or necessary to enable an application for an entry permit to be made and considered.'" (emphasis added; footnote omitted)

    [97]See Lim (1992) 176 CLR 1 at 33-36; see also 11‑12, 51, 53.

    [98](2013) 251 CLR 322 at 369 [138], quoting Lim (1992) 176 CLR 1 at 33. See also Plaintiff S4 (2014) 253 CLR 219 at 231‑232 [25]-[29]; CPCFv Minister for Immigration and Border Protection (2015) 255 CLR 514 at 625 [374].

  13. The Executive has no "prerogative" or non‑statutory power to detain a person[99]. The criteria against which the lawfulness of detention must be judged "are set at the start of the detention"[100]. As six members of this Court observed in Plaintiff M96A/2016 v The Commonwealth[101], citing Australian Communist Party v The Commonwealth[102], "Parliament cannot avoid judicial scrutiny of the legality of detention" by "mak[ing] the length of detention at any time dependent upon the unconstrained, and unascertainable, opinion of the Executive" (emphasis added). Indeed, it is "because immigration detention is not discretionary, but is an incident of the execution of particular powers of the Executive, [that] it must serve the purposes of the Act and its duration must be fixed by reference to what is both necessary and incidental to the execution of those powers and the fulfilment of those purposes"[103] (emphasis added).

    [99]Lim (1992) 176 CLR 1 at 19, 63; CPCF (2015) 255 CLR 514 at 567-568 [148]‑[150], 599-600 [273]-[275]; Plaintiff M68 (2016) 257 CLR 42 at 105 [159], 158 [372]. As stated in Lim (1992) 176 CLR 1 at 28, it is unnecessary to consider the power of the Executive in times of war.

    [100]Plaintiff S4 (2014) 253 CLR 219 at 232 [29].

    [101](2017) 261 CLR 582 at 597 [31].

    [102](1951) 83 CLR 1 at 258.

    [103]Plaintiff S4 (2014) 253 CLR 219 at 232 [29].

  14. The central dispute in these appeals is whether detention is lawful even though it continues beyond the time at which it should have come to an end. The detention of the respondent, AJL20, should have been, but was not, brought to an end by removing AJL20 from Australia sooner than he will now be removed. His detention was prolonged because, contrary to ss 196, 197C and 198 of the Migration Act, for approximately 14 months[104], officers considered Australia's non‑refoulement obligations in respect of AJL20[105]. Section 197C made clear, in unambiguous terms, that for the purposes of removal of an unlawful non-citizen under s 198, "it is irrelevant whether Australia has non‑refoulement obligations in respect of an unlawful non-citizen"[106], and, further, that the duty to remove an unlawful non-citizen as soon as reasonably practicable arises "irrespective of whether there has been an assessment, according to law, of Australia's non‑refoulement obligations in respect of the non‑citizen"[107].

    [104]The period of detention challenged began on 26 July 2019, the day after AJL20's visa application was "finally determined" by reason of the Minister for Home Affairs declining to consider exercising his discretion under s 195A to grant AJL20 a visa, triggering his removal "as soon as reasonably practicable" under s 198(6), and ended on 11 September 2020, when AJL20 was released from detention by order of the Federal Court of Australia.

    [105]See Al-Kateb v Godwin (2004) 219 CLR 562 at 636 [218], 639 [227]-[228].

    [106]Migration Act, s 197C(1) (as it stood at the relevant time).

    [107]Migration Act, s 197C(2) (as it stood at the relevant time). See Australia, House of Representatives, Migration and Maritime Powers Legislation Amendment (Resolving the Asylum Legacy Caseload) Bill 2014, Explanatory Memorandum at 165 [1132], 166 [1140]-[1141].

  15. The Commonwealth submitted that immigration detention is lawful until an unlawful non‑citizen is "actually removed". That is, the Commonwealth submitted that the authority to detain an unlawful non‑citizen continues until the "actual occurrence" of a "terminating event" under s 196(1) – relevantly, removal from Australia – regardless of whether, as the Migration Act requires, the Commonwealth removes the person as soon as reasonably practicable.

  16. The Commonwealth submitted that even where, as here, the Executive prolonged AJL20's detention (by spending many months considering non‑refoulement obligations that the Migration Act expressly provided were irrelevant to the Executive's obligation to remove AJL20 as soon as reasonably practicable), the detention was lawful. That would mean that Executive detention would remain lawful until such time as an unlawful non-citizen is removed under s 198, subject only to the requirement that, throughout the duration of the detention, an officer knows or reasonably suspects that the person is an unlawful non‑citizen[108]. The logical, and inevitable, consequence of the Commonwealth's submission is that (perhaps absent express malice[109]) detention could lawfully continue for so long as the Executive chose, notwithstanding non‑compliance with s 196. Put differently, the Commonwealth's contention would enable detention of unlawful non-citizens at the unconstrained discretion of the Executive; the terminating event may never occur despite being reasonably practicable, yet detention would remain lawful[110]. That would render the Ch III limits on Executive detention meaningless.

    [108]Migration Act, s 189.

    [109]Which might constitute misfeasance in public office: Northern Territory v Mengel (1995) 185 CLR 307 at 345-348; Sanders v Snell (1998) 196 CLR 329 at 346-347 [42].

    [110]cf Plaintiff S4 (2014) 253 CLR 219 at 232 [29], 233 [33]-[34]; Plaintiff M96A (2017) 261 CLR 582 at 597 [31].

  17. The Commonwealth's submissions have no foundation in the text of the Migration Act. If they did, there would be a question about the validity of the provisions[111]; but no such question is reached. On the proper construction of the Migration Act, the Commonwealth's submissions fail. Sections 189, 196, 197C and 198 must be read together[112]. That construction has to take place against the constitutional background[113]. Both the plain text of the provisions, and the constitutional framework within which they sit and must be read, show that the Executive's authority to keep an unlawful non‑citizen in immigration detention stops when time for removal as soon as reasonably practicable has expired. As will be explained, it is not the event of removal, but a time by which removal must occur, that defines the lawfulness of detention.

    [111]Lim (1992) 176 CLR 1 at 33, 36, 58. See also Koon Wing Lau v Calwell (1949) 80 CLR 533 at 556.

    [112]Project Blue Sky Inc v Australian Broadcasting Authority (1998) 194 CLR 355 at 381-382 [69]-[70]; Al-Kateb (2004) 219 CLR 562 at 637-638 [223]; Plaintiff S4 (2014) 253 CLR 219 at 230 [23], 236 [42].

    [113]Acts Interpretation Act 1901 (Cth), s 15A; Lim (1992) 176 CLR 1 at 14; Plaintiff S157/2002 v The Commonwealth (2003) 211 CLR 476 at 504 [71]; Plaintiff M47/2012 v Director-General of Security (2012) 251 CLR 1 at 133 [339]; North Australian Aboriginal Justice Agency Ltd v Northern Territory (2015) 256 CLR 569 at 604 [76].

  18. Section 189(1) provides for a mandatory[114] duty to detain an unlawful non‑citizen "[i]f an officer knows or reasonably suspects that a person in the migration zone ... is an unlawful non-citizen". The authority to keep an unlawful non‑citizen in detention is conditioned by s 196. Section 196 identifies a number of "terminating events" the pursuit of which justifies keeping a person in detention[115]. One of those events is, relevantly, until "he or she is removed from Australia under section 198"[116]. Section 198, in its various operations, requires that an officer must remove an unlawful non‑citizen "as soon as reasonably practicable"[117]. That obligation is triggered by an objective event. It may be triggered by a written request for removal by the unlawful non‑citizen under s 198(1) or, as in this case, it may be triggered by a final decision not to grant a visa under s 198(6). Once that event occurred for AJL20 (as it had on 25 July 2019, when the Minister for Home Affairs declined to consider exercising his discretion under s 195A to grant AJL20 a visa[118]), AJL20's detention under s 196 was authorised for the Executive to pursue his removal from Australia in accordance with s 198(6), as soon as reasonably practicable, and for no other reason.

    [114]Al-Kateb (2004) 219 CLR 562 at 647 [254].

    [115]See Lim (1992) 176 CLR 1 at 32-33, 36.

    [116]Migration Act, s 196(1)(a).

    [117]Migration Act, s 198(1), (1A), (1C)-(2B), (5), (6)-(9).

    [118]It was common ground that s 198(6) was engaged in respect of AJL20 by 26 July 2019.

  19. The Commonwealth's submission elides the distinction between taking into detention and the duration of detention. The Migration Act relevantly defines "detain" to mean[119]:

    "(a)     take into immigration detention; or

    (b)      keep, or cause to be kept, in immigration detention;

    and includes taking such action and using such force as are reasonably necessary to do so." (emphasis added)

    The disjunctive "or" is important and is not to be ignored. It reinforces the distinction between taking into detention and the duration of – keeping a person in – detention that is reflected in the text of the provisions and in the way the provisions are intended to, and do, operate as a coherent whole.

    [119]Migration Act, s 5(1) definition of "detain".

  20. The statutory power to detain an unlawful non-citizen must be understood by reference to two interlocking dimensions – power and duration. The Commonwealth's argument elides the two by focusing only on the power and duty given by s 189 and ignoring the duration fixed by ss 196 and 198, detention until removal as soon as reasonably practicable. The Commonwealth, by eliding power and duration, sought to say that detention for longer than the time authorised by the Migration Act was lawful. And yet, the Commonwealth said mandamus would be available, there being a statutory duty that had not been performed. The statutory duty not performed was the duty to remove as soon as reasonably practicable. The tension in the Commonwealth's position can only be resolved by recognising that the prolongation of the detention was not authorised by the Migration Act and was therefore unlawful.

  21. At trial, the primary judge held that the Commonwealth failed to take steps to remove AJL20 from Australia to any country for the first period of his detention once s 198(6) was engaged, and failed to take steps to remove him to Syria, his country of nationality, for the whole of his detention, despite reasonably practicable steps being available to do so[120]. The primary judge also found that the onus was on the Commonwealth to establish that the earliest point in time for removal had not yet arrived[121]. His Honour found that the Commonwealth had not discharged that onus[122]. That AJL20's detention had been prolonged was not disputed in this Court.

    [120]AJL20 v The Commonwealth [2020] FCA 1305 at [126]-[128], [159], [170]-[171].

    [121]AJL20 [2020] FCA 1305 at [88], [91].

    [122]AJL20 [2020] FCA 1305 at [88].

  22. If the Migration Act operates according to its terms and an unlawful non‑citizen is removed as soon as reasonably practicable, there is no occasion to reconsider or re-engage s 189. But where an unlawful non‑citizen has been detained unlawfully and remains in detention, s 189 would require the unlawful non‑citizen, if released, to be immediately re‑detained[123]. Two points should then be made. First, the unlawful non‑citizen could only be detained lawfully – that is, only until they could be removed as soon as reasonably practicable. Second, observing that s 189 would apply to require re‑detention does not alter the conclusion that the past period of detention was not authorised by the Migration Act. And, not being authorised by the Migration Act, the past detention was unlawful[124].

    [123]Plaintiff M76 (2013) 251 CLR 322 at 380 [183]. See also Wiest v Director of Public Prosecutions (1988) 81 ALR 129 at 135-136; Al-Kateb (2004) 219 CLR 562 at 641 [236].

    [124]Lim (1992) 176 CLR 1 at 35-36.

  1. The reason that Brennan, Deane and Dawson JJ held that the Executive was constitutionally constrained to a narrow range of legitimate purposes was that other purposes would be punitive, using that concept in a sense extending beyond the narrow conception of criminal punishment as moral desert[197]. Their Honours concluded that the Commonwealth Parliament cannot validly authorise the Executive to detain aliens involuntarily beyond the limited period discussed above because to do so would be "penal or punitive in character [which] under our system of government, exists only as an incident of the exclusively judicial function of adjudging and punishing criminal guilt"[198].

    [197]See Minister for Home Affairs v Benbrika (2021) 95 ALJR 166 at 215-216 [196]‑[197], 219 [210]-[213]; 388 ALR 1 at 58-59, 63-64.

    [198](1992) 176 CLR 1 at 27.

  2. As constitutionally constrained, the terms of the Migration Act establish the scope and purposes for legitimate Executive action. That Executive action, whether in performance of a duty or in the exercise of a power, cannot be for an illegitimate purpose, namely a purpose that does not conform to the scope and purposes of the Act. As this Court said in Plaintiff S4/2014 v Minister for Immigration and Border Protection[199]:

    "It follows that detention under and for the purposes of the Act is limited by the purposes for which the detention is being effected. And it further follows that, when describing and justifying detention as being under and for the purposes of the Act, it will always be necessary to identify the purpose for the detention. Lawfully, that purpose can only be one of three purposes: the purpose of removal from Australia; the purpose of receiving, investigating and determining an application[[200]] for a visa permitting the alien to enter and remain in Australia; or, in a case such as the present, the purpose of determining whether to permit a valid application for a visa."

    [199](2014) 253 CLR 219 at 231 [26].

    [200]To which can be added the consideration of whether to grant a visa without application, such as under Migration Act, s 195A.

    Habeas corpus where detention is beyond the scope and purposes of the statute

  3. As a matter of statutory implication, any exercise of statutory power by the Executive will usually be authorised only on the basis that the exercise is within the scope of the legislation and for the purposes for which the power was conferred[201]. It is not necessary that an ulterior purpose be the sole purpose in order for the Executive action to be ultra vires. It suffices "if such a purpose is a substantial purpose"[202]. The primary remedy for an ultra vires, and therefore unlawful, detention is a writ of habeas corpus. Unlike damages for false imprisonment, which are only a secondary remedy to compensate for losses where the elements of the tort are satisfied, the remedy of habeas corpus, or an order of that nature[203], is a primary remedy by which a person seeks to rectify the unlawful nature of the detention by release: "[w]hen it has been decided that the detention of any person is illegal he is entitled to be discharged"[204].

    [201]Brownells Ltd v Ironmongers' Wages Board (1950) 81 CLR 108 at 119‑120. See also R v Toohey; Ex parte Northern Land Council (1981) 151 CLR 170 at 186‑187.

    [202]Thompson v Randwick Corporation (1950) 81 CLR 87 at 106. See also Enfield City Corporation v Development Assessment Commission (2000) 199 CLR 135 at 149 [30]; Western Australian Planning Commission v Temwood Holdings Pty Ltd (2004) 221 CLR 30 at 67 [93].

    [203]Ruddock v Vadarlis (2001) 110 FCR 491 at 509 [66], 518 [106]‑[107]. Compare at 546-548 [206]‑[215].

    [204]Secretary of State for Home Affairs v O'Brien [1923] AC 603 at 619.

  4. In Koon Wing Lau v Calwell[205], this Court considered the operation of s 7(1)(a) of the War-time Refugees Removal Act 1949 (Cth), which empowered the Minister or an officer to detain a deportee in custody "pending his deportation and until he is placed on board a vessel for deportation from Australia". Latham CJ, with whom McTiernan J agreed, said that "[i]f it were shown that detention was not being used for these purposes the detention would be unauthorized and a writ of habeas corpus would provide an immediate remedy"[206]. The same reasoning was applied in Park Oh Ho v Minister for Immigration and Ethnic Affairs[207], where this Court held that a power to detain a deportee in custody "pending deportation" did not authorise "the indefinite detention in custody of a person for some ulterior purpose, such as the purpose of being kept available as a witness in a pending criminal prosecution".

    [205](1949) 80 CLR 533.

    [206](1949) 80 CLR 533 at 556.

    [207](1989) 167 CLR 637 at 643.

  5. This established reasoning in relation to statutory powers is equally true of the performance of a statutory duty. The usual statutory implication will be that the performance of a statutory duty will be invalid if it is not performed within the scope of the legislation and for the purposes for which it was imposed. In the Migration Act, detention by the Executive for a purpose that is not within the scope and purposes of the Migration Act is not detention under the Act. Hence, s 196 describes the requirement to keep an unlawful non-citizen in detention as applicable where the detention is "under section 189". As the Full Court of the Federal Court said in ASP15 v The Commonwealth[208], referring to detention by the Executive for the purpose of making a visa decision, "detention only remains valid so long as such a purpose under the Migration Act continues to exist".

    [208](2016) 248 FCR 372 at 383 [42].

  6. The implied requirement that the Executive purpose for performance of a duty must fall within the scope and purposes of the Migration Act was also recognised in the consideration of the "duty" of detention in s 189 by both the majority and minority judgments in Al-Kateb v Godwin[209]: Gleeson CJ held that the detention was unlawful because the purpose of removal was not capable of being fulfilled[210]; Gummow J, and Kirby J in similar terms[211], recognised that the purposes of the Migration Act "are not at large" and that "the purpose of deportation or expulsion cannot be treated by the legislature as a matter purely for the opinion of the executive government"[212]; Hayne J proceeded upon the basis that the Migration Act, like s 7(1)(a) of the War‑time Refugees Removal Act in Koon Wing Lau, provides for detention so long as it is "for the purposes of processing any visa application and removal"[213]; and Callinan J considered that the detention was lawful because there was no basis to imply a limit to the period of detention of a "'reasonable' period" and because the Executive purpose of detention was within the statutory purpose[214].

    [209](2004) 219 CLR 562.

    [210](2004) 219 CLR 562 at 578 [22].

    [211](2004) 219 CLR 562 at 630 [193].

    [212](2004) 219 CLR 562 at 613 [140].

    [213](2004) 219 CLR 562 at 638 [225].

    [214](2004) 219 CLR 562 at 661 [298].

  7. Finally, one rationale for the decision of six members of this Court in Plaintiff M96A/2016 v The Commonwealth[215] was that the Executive had to act for purposes within the scope and purposes of the Migration Act. In Plaintiff M96A/2016, the plaintiffs were brought to Australia from Nauru for medical treatment. They were detained by the Executive under s 189 of the Migration Act while they were in Australia. One question was whether the Executive had detained the plaintiffs for purposes that were beyond the scope and purposes of the Migration Act. The joint judgment quoted from Plaintiff S4/2014[216] for the proposition that "detention under and for the purposes of the Act is limited by the purposes for which the detention is being effected". It was held that the relevant purposes of detaining the plaintiffs in Plaintiff M96A/2016 were within the scope of the Migration Act. Importantly, a legal purpose is distinct from its foreseeable consequences or effects[217]. A consequence or effect of bringing the plaintiffs to Australia for medical treatment was that they were detained in Australia. But the Executive purpose for which the plaintiffs were detained was not for medical treatment. The Executive purpose of the detention was for the plaintiffs' subsequent removal from Australia. Indeed, the detention would have come to an end upon commencement of the process of removal even if medical treatment had not been concluded[218].

    [215](2017) 261 CLR 582 at 594 [22].

    [216](2014) 253 CLR 219 at 231 [26].

    [217]See Unions NSW v New South Wales (2019) 264 CLR 595 at 656 [170]. See also Zaburoni v The Queen (2016) 256 CLR 482 at 489 [10], 504 [66]; SZTAL v Minister for Immigration and Border Protection (2017) 262 CLR 362 at 395‑397 [98]‑[102].

    [218](2017) 261 CLR 582 at 595 [26].

  8. Apart from these matters of authority, there are also strong reasons of principle why a statute will generally be interpreted to constrain the performance of duties according to the scope and purposes of the statute, just as the exercise of powers is so constrained. There can be a very fine line between whether a provision is characterised as imposing a duty or as conferring a power or as imposing a duty that is subject to a power. For instance, the so-called "duty" of continuing detention required by s 189 would not need to have been performed in respect of AJL20 if the Minister had exercised the power under s 195A to grant a Subclass 070 – Bridging (Removal Pending) visa to AJL20. In exercising the power under s 195A, the Minister is not bound by Subdiv AA (Applications for visas), AC (Grant of visas) or AF (Bridging visas) of Div 3 of Pt 2 of the Migration Act or by the relevant provisions of the Migration Regulations[219]. As the Explanatory Memorandum to the Bill that introduced s 195A stated[220]:

    "[New section 195A] provides the Minister with a non‑compellable power to grant a visa to a person who is being held in immigration detention where the Minister is satisfied that it is in the public interest to do so. In the exercise of this power the Minister will not be bound by the provisions of the Migration Act or regulations governing application and grant requirements. The Minister will have the flexibility to grant any visa that is appropriate to that individual's circumstances, including a Removal Pending Bridging Visa where the detainee has no right to remain in Australia but removal is not practicable in the foreseeable future."

    [219]Migration Act, s 195A(3).

    [220]Australia, House of Representatives, Migration Amendment (Detention Arrangements) Bill 2005, Explanatory Memorandum at 3 [10].

  9. It is, at best, misleading to describe any obligation deriving from s 189 as a "duty" upon the Executive to detain AJL20 when the Executive could have released AJL20 by exercise of a general power to grant him a visa under s 195A. As Hohfeld cautioned a century ago, the generalised use of "chameleon-hued words" such as "duties" can constitute a "peril both to clear thought and to lucid expression"[221]. But, whether or not it would debase the content of a "duty" to speak in terms shrouded in the mystical logic of an obligation of the Executive to do something that it is not obliged to do, it is most unlikely that Parliament intended that significant consequences would turn upon fine questions of abstract legal theory that depended upon a loose characterisation of s 189 as a "duty" rather than a power.

    [221]Hohfeld, "Some Fundamental Legal Conceptions as Applied in Judicial Reasoning" (1913) 23 Yale Law Journal 16 at 29.

    Executive purpose is to be assessed objectively

  10. For the reasons above, authority and principle plainly establish that a natural implication from the Migration Act is that the Executive cannot exercise a power or perform a duty or function for purposes that are beyond the express or implied scope and purposes of the Act. Without such an implication, the Migration Act would authorise the Executive to act for a purpose such as punishment which, if expressed in the Migration Act, would be an unconstitutional provision. But, with such an implication, the Executive would be acting ultra vires if it detained an unlawful non‑citizen under s 189 for the purposes of punishment, in contravention of an implied constraint in the Migration Act. And just as the purposes for which the Executive can act are constrained by implied restrictions based on the scope and purposes of the Migration Act, so too the purposes for which the Executive can act are constrained by express restrictions on the scope and purposes of the Migration Act, including s 197C.

  11. The question that then arises is whether the s 197C constraint upon the purpose of the Executive in continuing to detain AJL20 until 11 September 2020 is one which is required to be ascertained subjectively or whether it is to be ascertained objectively by the acts and conduct of officers of the Executive. In relation to powers, the answer is generally that the purpose of the Executive is assessed objectively[222]. The same is true in relation to duties. As Gleeson CJ said in Al‑Kateb v Godwin[223], "[t]he purpose is objective. What is in question is the purpose of the detention, not the motives or intention of the Minister, or the officers". Consequently, improper purpose is not synonymous with a lack of good faith in a moral sense[224] or with dishonesty[225]. Again, six members of this Court in Plaintiff M96A/2016[226] said that "the purpose of immigration detention is assessed objectively by reference to all of the circumstances".

    [222]See Thompson v Randwick Corporation (1950) 81 CLR 87 at 106.

    [223](2004) 219 CLR 562 at 576 [17].

    [224]See SZFDE v Minister for Immigration and Citizenship (2007) 232 CLR 189 at 195 [13], citing Wade and Forsyth, Administrative Law, 9th ed (2004) at 416.

    [225]Thompson v Randwick Corporation (1950) 81 CLR 87 at 106; Western Australian Planning Commission v Temwood Holdings Pty Ltd (2004) 221 CLR 30 at 67 [93].

    [226](2017) 261 CLR 582 at 594 [22].

  12. This objective assessment of whether the purpose of the Executive's exercise of powers or performance of duties is one that is within the scope and purposes of the relevant legislation aligns with the same objective assessment of whether the powers and duties of directors are exercised or performed for proper purposes. In the context of directors' duties, it is established that the exercise of a power or the performance of a duty for an ulterior or impermissible purpose can be invalid notwithstanding that the exercise or performance occurs, as it did in this case, with "substantially altruistic" motives[227]. The court "is entitled to look at the situation objectively"[228]. The concern is not with "an almost infinite analysis of the fears and desires, proximate and remote, which, in truth, form the compound motives usually animating human conduct" but is instead with an objective analysis of "the substantial object the accomplishment of which formed the real ground of the board's action"[229]. One difference, however, between the duties of the Executive and the duties of directors is that the latter also contain elements of subjectivity in the requirement that duties must also be performed in good faith, or bona fide.

    [227]Whitehouse v Carlton Hotel Pty Ltd (1987) 162 CLR 285 at 293.

    [228]Howard Smith Ltd v Ampol Petroleum Ltd [1974] AC 821 at 832.

    [229]Mills v Mills (1938) 60 CLR 150 at 185-186.

  13. In Minister for Immigration and Multicultural and Indigenous Affairs v Al Masri[230], the Full Court of the Federal Court referred to two purpose-based limitations upon the duty to detain under the Migration Act. The first appeared to be subjective: "[i]f the Minister were to hold a person in detention without [a bona fide purpose of removal], then the detention would be unlawful and the person entitled to relief in the nature of habeas corpus". The second, which was rejected in Al-Kateb v Godwin, appeared to be objective: there must be a "real likelihood or prospect of the removal of the person from Australia in the reasonably foreseeable future".

    [230](2003) 126 FCR 54 at 88 [135]‑[136].

  14. The question of whether the "duty" to detain was subject to an objective or subjective purpose-based limitation was subsequently answered by Selway J in Alsalih v Manager, Baxter Immigration Detention Facility[231]. Though the case concerned the second limitation upon the "duty" to detain, which was rejected in Al‑Kateb v Godwin, Selway J considered both limitations upon the power to detain. In the passages relevant to this case[232], his Honour correctly explained that "the detention power in the Act is purposive" and expressed the view that the "requirement under the first limitation that the Minister exercise the power bona fide for the purpose of removal is a subjective test of purpose". But he later qualified that reasoning by doubting whether such a subjective approach to purpose should be taken[233]:

    "In contrast to the exercise of a discretionary power, there is no necessary requirement that a statutory duty be exercised bona fide and for the purpose for which the power was given. To give a simple example, if a Sheriff has a warrant to hold a prisoner in gaol the duty to do so exists no matter whether the Sheriff is bona fide and no matter what his or her purpose might be. Otherwise, an officer could avoid a statutory duty merely by disagreeing with it. In relation to a statutory duty the question of whether there is any objective or subjective purpose is a matter of statutory interpretation."

    It is plain beyond peradventure that Selway J was not suggesting that the rejection of a subjective purpose requirement meant that the "duty" of continuing detention was not purposive at all. His Honour concluded[234]:

    "In this case the combined effect of ss 189 and 198 of the [A]ct is to impose a duty upon someone (presumably an officer) to detain an unlawful non‑citizen. It is not obvious to me that the subjective purpose of that officer has much to do with that duty. In my view any inquiry in relation to the purpose of the statutory provision is an inquiry as to objective purpose."

    [231](2004) 136 FCR 291.

    [232](2004) 136 FCR 291 at 308-309 [54]-[58].

    [233](2004) 136 FCR 291 at 309 [56] (emphasis added).

    [234](2004) 136 FCR 291 at 309 [58] (emphasis added).

    The duty to detain lawfully and the duty to remove as soon as reasonably practicable

  15. It is necessary to separate (i) the "duty" of the Executive acting under s 189 to detain an unlawful non‑citizen lawfully, including within the scope and purposes of the Migration Act, from (ii) the duty of the Executive to remove an unlawful non‑citizen as soon as reasonably practicable under s 198(6), read with s 196. The primary remedy for a breach of either duty aims to ensure compliance with the law, but different writs have historically evolved (i) where compliance with the law requires release from detention, and (ii) where compliance requires performance of a public act or duty.

  16. The primary remedy for a breach of a duty to detain lawfully is to undo the continuing unlawfulness by an order for release by a writ of habeas corpus ad subjiciendum, "for removing the injury of unjust and illegal confinement [which] does not always arise from the ill‑nature, but sometimes from the mere inattention, of government"[235]. On the other hand, the primary remedy for a breach of the duty to remove an unlawful non‑citizen as soon as reasonably practicable is a writ of mandamus, which "issues in all cases where the party [has] a right to have any thing done, and [has] no other specific means of compelling [its] performance"[236]. It lies to command "the doing of what ought to be done, and not to undo what has been done"[237].

    [235]Blackstone, Commentaries on the Laws of England (1768), bk 3, ch 8 at 137‑138 (emphasis in original).

    [236]Blackstone, Commentaries on the Laws of England (1768), bk 3, ch 7 at 110. See also Tapping, The Law and Practice of the High Prerogative Writ of Mandamus, as it obtains both in England and in Ireland (1853) at 58‑59.

    [237]Merrill, Law of Mandamus (1892) at 47.

  1. There are remarks in some of the authorities which might, on one view, be read as conflating the two duties. For instance, in Lim[238], Mason CJ said that detention may cease to be lawful "by reason of the failure of the Executive to take steps to remove a designated person from Australia in conformity with Div 4B". His Honour gave examples including: (i) a failure to remove the designated person as soon as practicable after the person had asked the Minister in writing to be removed[239]; and (ii) a failure to remove the designated person as soon as practicable after the refusal of an entry application for the person and the finalisation of all appeals against, or reviews of, the refusal (if any)[240]. Another instance is the reasons of Dixon J in Koon Wing Lau[241], where his Honour said of provisions that empowered the detention of a deportee "for the purpose of fulfilling the obligation to deport him until he is placed on board the vessel" that "unless within a reasonable time he is placed on board a vessel he would be entitled to his discharge on habeas".

    [238](1992) 176 CLR 1 at 11-12.

    [239]Under the provision that was then Migration Act, s 54P(1). See now s 198(1).

    [240]Under the provision that was then Migration Act, s 54P(3). See now s 198(6).

    [241](1949) 80 CLR 533 at 581.

  2. The remarks of Mason CJ and Dixon J should not be understood as conflating the two different duties. In Lim, Mason CJ only said that detention "may" cease to be lawful in those circumstances. Whether a detention would cease to be lawful would depend upon whether the purpose for the failure by the Executive to remove the designated person was inconsistent with the scope and purposes of the Migration Act. The mere unintentional failure to act as soon as reasonably practicable is not sufficient for an inference that the Executive's purpose for detention was inconsistent with the scope and purposes of the Migration Act. In Koon Wing Lau, the remarks of Dixon J were made in response to a submission that there would be nothing to prevent the Minister directing that a deportee be detained "for life or indefinitely". His Honour was thus contemplating a circumstance where the failure to act within a reasonable time was evidence of a purpose which was beyond the scope and purposes of the Migration Act.

    Ascertaining the Executive's purpose of detaining AJL20

  3. The purpose of an act purportedly performed under a statute must be characterised at the correct level of generality. Suppose that the Executive detained a person under s 189 for the purpose of removing them from Australia specifically to a country to which the Migration Act prohibited removal. At a high level of generality, it might be said that the purpose was consistent with the statute: it was to remove the person from Australia. But to express the purpose at such a high level of generality ignores a substantial object of the Executive: to ensure that the person is removed only to the prohibited country.

  4. The same reasoning must also apply where the purpose of the Executive is to remove a person from Australia but to do so contrary to the terms of s 197C of the Migration Act by not removing a person to a particular country due to non‑refoulement obligations. Hence, in this case it would be an incomplete statement of the purpose of the Executive to describe the purpose merely as removal of AJL20 from Australia. A statement of purpose at that level of generality does not merely fail to capture the substance of the purpose of the Executive. It also fails to explain why the Executive took no steps at all to remove AJL20 from Australia in the period from at least 26 July 2019 until 27 November 2019.

  5. The purpose of the Executive from, at the latest, 26 July 2019 until the date of the primary judge's judgment, 11 September 2020, was to remove AJL20 from Australia consistently with Australia's international non-refoulement obligations. In April 2019, the Minister was asked if he wished to consider exercising his powers under s 195A or s 197AB of the Migration Act. Until the Minister declined to consider the exercise of his discretions under either of those provisions on 25 July 2019, it may have been within the scope of the Migration Act for the Minister to detain AJL20 in order to consider whether to exercise his powers under s 195A or s 197AB and to remove AJL20 consistently with Australia's international non‑refoulement obligations. From 26 July 2019, the purpose of the Executive in detaining AJL20 was solely for removal in a manner consistent with Australia's non-refoulement obligations. That purpose explains the lack of any steps being taken for removal for several months. That purpose also explains the lack of any steps being taken to investigate removal of AJL20 to Syria concurrently with investigations in relation to Lebanon in the second period, from 28 November 2019 until 11 September 2020.

  6. Section 189 of the Migration Act permits detention only where the purpose of the Executive is within the scope and purposes of the Act. The purpose of the Executive, to remove AJL20 from Australia consistently with Australia's international non‑refoulement obligations, was contrary to the express terms of s 197C of the Migration Act. The Executive could have detained, and still can detain, AJL20 if it changed its purpose to one of removal that is not inconsistent with the scope and purposes of the Migration Act.

  7. Further, as explained in the introduction to these reasons, from 1 March 2019, the Executive could have fulfilled its purpose by granting to AJL20 a Subclass 070 – Bridging (Removal Pending) visa under s 195A of the Migration Act. Consistently with the requirements for that visa, AJL20 was initially detained lawfully under s 189. It was also open to the Minister to be satisfied that removal of AJL20 to Syria was not reasonably practicable at the point in time when considering the grant of the visa, which is a separate matter from when removal would become reasonably practicable.

  8. What the Executive could not do was to detain AJL20 with a purpose that was contrary to the terms of the Migration Act. Subject to s 196(3) of the Migration Act, the unlawful detention of AJL20 between 26 July 2019 and 11 September 2020 was the proper subject of a writ of, or an order in the nature of, habeas corpus.

    Section 196(3) cannot preclude release of persons unlawfully detained

  9. The Commonwealth relied upon s 196(3) as providing support for the proposition that a person can be released from detention only on the occurrence of one of the events set out in s 196(1), which, in broad terms, are removal, or the process of removal, from Australia, deportation from Australia, or the grant of a visa. Section 196(3) provides:

    "To avoid doubt, subsection (1) prevents the release, even by a court, of an unlawful non-citizen from detention (otherwise than as referred to in paragraph (1)(a), (aa) or (b)) unless the non-citizen has been granted a visa."

  10. The predecessor provision to s 196(3), in its original numbering, was s 54R of the Migration Act. That section provided that "[a] court is not to order the release from custody of a designated person". Despite its literal terms, the "plain intention of Parliament" was "that a designated person should be released from custody" in situations involving removal from Australia or the grant of an entry permit[242].

    [242]Chu Kheng Lim v Minister for Immigration, Local Government and Ethnic Affairs (1992) 176 CLR 1 at 11.

  11. In Lim, a majority of this Court held that s 54R of the Migration Act could not be read down to permit release of the person from detention where the person was being detained unlawfully. One example given in the joint reasons of Brennan, Deane and Dawson JJ (with which Gaudron J agreed) was where the person continued to be held in detention beyond the express 273‑day limit for detention that was then provided by s 54Q of the Migration Act[243]. In other words, s 54R could not validly preclude a court from releasing from detention a person who was not lawfully detained.

    [243](1992) 176 CLR 1 at 35‑36.

  12. If s 196(3) could not be read down so that "detention" meant only "lawful detention"[244] then s 196(3) would not permit the release by a court of persons who are unlawful non‑citizens, apart from those who are excluded from that concept by necessary disapplication[245]. It is not possible to exclude from the definition of "unlawful non‑citizen" all those persons who are lawfully detained due to that status but whose detention becomes unlawful due to an invalid purpose. And although s 196(4) contemplates the release by a court of various categories of person found to have been unlawfully detained, and whatever may be the effect of making that sub‑section subject to paras (a), (b) and (c) of s 196(1), to the extent, if at all, that s 196(3) could prevent the release by a court of a person from detention where that person is found to be detained for a non‑statutory purpose, and therefore unlawfully, s 196(3) would be invalid for reasons that are indistinguishable as a matter of principle from the reasons which invalidated s 54R in Lim.

    [244]Al-Kateb v Godwin (2004) 219 CLR 562 at 574 [10].

    [245]Love v The Commonwealth (2020) 94 ALJR 198; 375 ALR 597.

    Conclusion

  13. For a court to uphold a purpose of detention that is beyond the scope and purposes of statutory authority would be to deny "the supremacy of Parliament over the Executive"[246]. As an unlawful non‑citizen, AJL20 was initially detained, and could have continued to have been detained, by the Executive acting within the scope and purposes of the Migration Act. But at least from 26 July 2019, the purpose of the Executive was to remove AJL20 consistently with Australia's non‑refoulement obligations. That purpose could have been fulfilled by granting AJL20 a Subclass 070 – Bridging (Removal Pending) visa[247] under s 195A of the Migration Act. But to pursue this purpose whilst AJL20 was in detention, purportedly under s 189, was contrary to the express terms of s 197C of the Migration Act and was therefore beyond the scope and purposes of the Migration Act. As the primary judge concluded, the Commonwealth consistently maintained its position, whilst detaining AJL20, that Australia's non‑refoulement obligations should be treated as precluding his removal to Syria[248].

    [246]R (Public Law Project) v Lord Chancellor [2016] AC 1531 at 1556 [23].

    [247]See Migration Regulations, reg 2.20(12).

    [248]AJL20 v The Commonwealth [2020] FCA 1305 at [157].

  14. AJL20 was entitled to the remedy of habeas corpus for so long as the Executive persisted with its purpose of removing him in a manner contrary to the terms of s 197C. At no stage before the primary judge, or subsequently, did the Executive recant that purpose. Although a writ of habeas corpus may have attached to it conditions that must be observed by the person upon release[249], the Commonwealth did not seek from the primary judge, nor did it seek in this Court, any conditions upon the release of AJL20 relating to his removal from Australia. The appeals must be dismissed with costs.

    [249]Al-Kateb v Godwin (2004) 219 CLR 562 at 579-580 [27]; Plaintiff M47/2012 v Director-General of Security (2012) 251 CLR 1 at 57-58 [108].