The responsible local authority shall have the functions set out in section 23B in respect of a relevant child.
In subsection (1) " relevant child " means (subject to subsection (3)) a child who—
The Secretary of State may prescribe—
In subsection (1) the " responsible local authority " is the one which last looked after the child.
If under subsection (3)(a) the Secretary of State prescribes a category of relevant children which includes children who do not fall within subsection (2)(b) (for example, because they were being looked after by a local authority in Scotland), the Secretary of State may in the regulations also provide for which local authority is to be the responsible local authority for those children.