For the purposes of this Part, a child is within this section if he or she is within any of subsections (2) to (5).
A child is within this subsection if he or she is provided with accommodation by a school or college in England to which section 87(1) of the Children Act 1989 applies.
A child is within this subsection if he or she is accommodated in an establishment (within the meaning of the Care Standards Act 2000) in respect of which Her Majesty's Chief Inspector of Education, Children's Services and Skills is the registration authority under section 5 of that Act.
A child is within this subsection if functions are being exercised in relation to him or her by an agency (within the meaning of the Care Standards Act 2000) in respect of which Her Majesty's Chief Inspector of Education, Children's Services and Skills is the registration authority under section 5 of that Act.
A child is within this subsection if a local authority in England exercises social services functions (within the meaning of the Local Authority Social Services Act 1970) in relation to him or her.
For the purposes of this Part, a person who is not a child is to be treated as a child who is within this section if—