In this case the European Court of Human Rights has examined the detention of children without a legal basis when they accompany their mother in detention, the inability of children to challenge the lawfulness of their detention, the domestic courts’ failure to examine whether the children’s detention was a measure of last resort and whether detention centres areappropriate for housing families with children under Article 5 § 1, 4 of the European Convention of Human Rights.
Source: official link