The circumstances prescribed for the purposes of section 97(1)(b) of the 2014 Act are that a child, having been convicted of an offence by a court, is—
(a)
detained pursuant to an order of a court in youth detention accommodation or in prison, or
(b)
is residing in approved premises.