Return Border Procedure Regulation:
Article 5 – Detention
1. Detention may be imposed only as a measure of last resort if it proves necessary on the basis of an individual assessment of each case and if other less coercive measures cannot be applied effectively. 2. Persons as referred to in Article 4(1) of this Regulation who were detained during the asylum border procedure, […]