On the application of the Secretary the Youth Residential Board may, subject to section 465, direct that a person sentenced to be detained in a youth residential centre by a court or a person transferred to a youth residential centre under this Division be transferred to a youth justice centre to serve the unexpired portion of the period of his or her sentence as detention in a youth justice centre if the Board considers the direction appropriate, having regard to the antecedents and behaviour of the person or the age and maturity of the person.