When the foreign national’s right to remain has ended pursuant to b or d of 1° of article L. 542-2 and an obligation to leave French territory has been issued against him or her, the administrative authority may place him or her under house arrest or in detention under the conditions laid down in articles L. 752-1 to L. 752-4.