Where under this Code a court has power to re-sentence an offender for an offence, the court may deal with the offender in any way in which it could deal with the offender—
But where under this Code the Crown Court has power to re-sentence an offender for an offence and subsection (3) applies, the power of the Crown Court is power to deal with the offender in any way in which a magistrates' court could deal with the offender for the offence if—
This subsection applies where—