6SAn Offender who was ordered to be detained in a detention centre on a date before the commencement of section 124(1) of this Act shall, if the order has not expired at the commencement of that section, be treated for all purposes of detention, release and supervision as if he had been sentenced to detention for the like term in a young offenders institution.