"Where a person who appears or is brought before a youth court charged with an offence subsequently attains the age of 18, the youth court may, at any time after conviction and before sentence, remit him for sentence to a magistrates' court (other than a youth court) acting for the same petty sessions area as the youth court."
"Where an offender is remitted under subsection (1) above the youth court shall adjourn proceedings in relation to the offence and ... (b) .... the court to which the offender is remitted ... may deal with the case in any way in which it would have power to deal with it if all proceedings relating to the offence which took place before the youth court had taken place before the other court."
"... may vary or rescind a sentence or other order imposed or made by it when dealing with an offender; and it is hereby declared that this power extends to replacing a sentence or order which for any reason appears to be invalid by another which the court has power to impose or make."