1.Member States shall ensure that deprivation of liberty of a child at any stage of the proceedings is limited to the shortest appropriate period of time. Due account shall be taken of the age and individual situation of the child, and of the particular circumstances of the case.
2.Member States shall ensure that deprivation of liberty, in particular detention, shall be imposed on children only as a measure of last resort. Member States shall ensure that any detention is based on a reasoned decision, subject to judicial review by a court. Such a decision shall also be subject to periodic review, at reasonable intervals of time, by a court, either ex officio or at the request of the child, of the child's lawyer, or of a judicial authority which is not a court. Without prejudice to judicial independence, Member States shall ensure that decisions to be taken pursuant to this paragraph are taken without undue delay.