4. After section 443 of the Principal Act the following section is inserted:
“444. (1) In imposing a defined sentence on an adult who is, at the time of sentencing, the subject of a Children's Services Act order, a court shall—
(a) in determining the duration of the defined sentence, take into account any remaining period during which the Children's Services Act order would remain in force if not discharged under paragraph (b); and
(b) discharge the Children's Services Act order accordingly.
“(2) In this section—
(a) a sentence of imprisonment;
(b) a periodic
detention order under section 4 of the Periodic Detention Act 1995 ; and
(c) a community service order under
section 556G.”.