‘(f) [...] Any measure that constrains children’s liberty in order to protect them, e.g. placement in secure accommodation, should be implemented within the child protection system with the same standards and safeguards; be strictly necessary, legitimate and proportionate to the aim of protecting the individual child from harming him or herself or others; be part of a holistic care plan; and be disconnected from migration-enforcement policies, practices and authorities; [...]‘