Parliament of the United Kingdom, Administration of Justice Act 1960 (1960)
“ Where a person who has been sentenced for an offence by a magistrates’ court or, on appeal against conviction or sentence, by quarter sessions applies to the High Court for an order of certiorari to remove the proceedings of the magistrates’ court or the court of quarter sessions into the High Court, and the High Court determines that the magistrates’ court or court of quarter sessions had no power to pass the sentence, the High Court may, instead of quashing the conviction, amend it by substituting for the sentence passed any sentence which the magistrates' court had power to impose. ”
