A magistrates' court may vary or rescind a sentence or other order imposed or made by it when dealing with an offender if it appears to the court to be in the interests of justice to do so; 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.
The power conferred on a magistrates' court by subsection (1) above shall not be exercisable in relation to any sentence or order imposed or made by it when dealing with an offender if—
Where a person is convicted by a magistrates' courtand it subsequently appears to the court that it would be in the interests of justice that the case should be heard again by different justices, the court may, . . .so direct.
The power conferred on a magistrates' court by subsection (2) above shall not be exercisable in relation to a conviction if—
Where a court gives a direction under subsection (2) above—
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Where a sentence or order is varied under subsection (1) above, the sentence or other order, as so varied, shall take effect from the beginning of the day on which it was originally imposed or made, unless the court otherwise directs.