Although detention of asylum seekers or vulnerable categories is not explicitly allowed by law, in practice several exceptions have been reported concerning unaccompanied children and victims of trafficking. This is due to the lack of identification of the minor age of the person, or of his or her status of victim of trafficking. For example, 48 minors were officially identified as such while in detention in 2017., while in 2018 they were 89. Figures for 2019 were not available at the time of writing.
In January 2020, the Platform ‘CIEs No’ reported that the case of a 16-years-old Algerian child who remained detained in the CIE in Valencia, despite the fact that he could prove his minority. The judge considered, however, that his identification documents, which had been sent by his family, were not valid as they were severely damaged (i.e. split in half).
Nonetheless, when they are identified as minors or victims while they are in detention, they are released and handled to the competent protection systems. In addition, applicants such as pregnant women or persons requiring assistance may be exempted from the border procedure and admitted to the territory in specific cases.
 Article 62(4) Aliens Act.
Article 62-bis(1)(i) Aliens Act. The part of this provision, referring to the need for CIE to guarantee family unity, has been set aside by the Supreme Court: Tribunal Supremo, Application 373/2014, 10 February 2015.