Facts

The appellant, an allegedly Chadian national born in 1985 with no known address, is represented by a lawyer. He appeals against the judgment of the Administrative Chamber of the Geneva Court of Justice of 13 July 2023 (ATA/764/2023), which confirmed the extension of his administrative detention pending removal until 22 September 2023. The respondent is the Cantonal Office of Population and Migration of the Canton of Geneva.

On 16 March 2010, the State Secretariat for Migration rejected the appellant's asylum application and ordered his removal, with an entry ban until 12 September 2021. On 25 January 2021, the appellant was apprehended in connection with cocaine trafficking and placed in pre-trial detention.

By judgment of 31 May 2022, the Geneva Criminal Court sentenced him to 36 months' imprisonment for a felony under the Narcotics Act, forgery of foreign certificates and aggravated money laundering, and ordered his judicial expulsion from Switzerland for 5 years (Art. 66a para. 1 SCC). He was released from criminal detention the same day. The Police Commissioner ordered his administrative detention pending removal for 6 months. The Administrative Court reduced this detention to 4 months, until 30 September 2022.

Identification efforts continued without success: LINGUA analysis, hearings before Chadian, Malian, Gambian, Senegalese and Guinean delegations. The appellant refused to cooperate and undertook no steps with the Chadian authorities. The hearing before the Gambian delegation scheduled for August 2022 did not take place, and the hearing of 29 November 2022 was then missed following the escort agent's accident, which was not replaced in error. The Senegalese hearing of 16 March 2023 did not succeed, the Senegalese authorities announcing further checks. A Guinean hearing took place on 23 May 2023 without recognition.

On 12 June 2023, the Cantonal Office requested a 3-month extension. The Administrative Court granted it until 22 September 2023, and the Court of Justice upheld that judgment, finding that the postponement of the Gambian hearing remained compatible with the principle of expedition and that the appellant's lack of cooperation was the main cause of the delay.

Before the Federal Supreme Court, the appellant seeks annulment of the judgment, his immediate release, in the alternative remittal of the case to the Court of Justice, and in the further alternative a finding that his detention was unlawful from 23 June 2023. He requests legal aid. The Administrative Court lifted the detention on 19 September 2023, and the appellant was released on 21 September 2023. The State Secretariat and the Cantonal Office conclude that the appeal should be dismissed.

Considerations

The Federal Supreme Court examines of its own motion its jurisdiction. The appeal in public law matters is in principle open against cantonal decisions on coercive measures. As the appellant was released during the proceedings, his current interest has ceased and the appeal would prima facie be moot. However, in detention matters, the Federal Supreme Court enters into the merits where the appellant arguably invokes a complaint based on the ECHR, in this case Art. 5 ECHR and the principle of expedition. The appeal is therefore admissible on this point.

As to the merits, the detention is in principle well-founded, since judicial expulsion for a felony constitutes a valid ground for detention within the meaning of Art. 76 para. 1 let. b no. 1 FNIA in conjunction with Art. 75 para. 1 let. h FNIA. The principle of expedition, arising from Art. 5 para. 1 let. f ECHR and Art. 76 para. 4 FNIA, is violated where, for more than two months, no measure with a view to removal is undertaken by the authorities, unless the delay is attributable to the conduct of the foreign national. The authorities must however act with diligence and persistence, attempt to establish identity and follow up with foreign authorities. Where the person is in criminal detention, preparatory steps must in principle be initiated before release if the situation is clear.

The first complaint, concerning the absence of identification measures during the pre-trial detention from January to December 2021, is dismissed. The obligation to take preparatory steps before release only concerns a foreign national to whom a first-instance removal or expulsion decision has been notified. The 2010 asylum decision could not, after almost eleven years, serve as a basis for such steps. It is the criminal judgment of 31 May 2022 ordering expulsion that constitutes the basis for administrative detention, so the authorities could not be required to act before that ruling, on pain of anticipating the decision.

The second complaint, concerning the postponement of the Gambian hearing following the escort agent's accident, is likewise rejected. Even if the communication failure between authorities is…