(1) In section 3 of the Serious Sex Offenders (Detention and Supervision) Act 2009 , for paragraph (c) of the definition of custodial sentence substitute —
"(c) an order made by a court sentencing an offender to be detained in a youth justice centre in respect of an offence, to the extent that the offender serves any part of that sentence in a prison or prison gaol; or".
(2) In section 3 of the Serious Sex Offenders (Detention and Supervision) Act 2009, in the definition of "Department" , for "Department of Justice" substitute "Department of Justice and Regulation".