227. (1) Where any court convicts any person of the offence of possessing or using a motor vehicle in contravention of section 25 (1), and a certificate is produced, signed by the licensing authority and stating the amount of fee which would have been payable on a revenue licence for that motor vehicle if application for the licence had been duly made and the licence duly issued in accordance with the provisions of Part III the court shall, in addition to any other punishment which it may impose for that offence, order a sum equal to that amount to be recovered from that person as though it were a fine imposed by the court; and any such sum may be so recovered notwithstanding that it may exceed the amount of the fine which the court may in the exercise of its ordinary jurisdiction impose. Every such sum when recovered by the court, shall be disposed of under this Act in like manner as the fee payable on a revenue licence for that motor vehicle.
(2) Any person who is dissatisfied with any order made under sub-section (1) may, if he appeals against the conviction in consequence of which the Order was made, appeal against the Order to the Supreme Court and the provisions of sections 338 to 352 of the Criminal Procedure Code shall apply to such appeal. *Power of court to order recovery of licence fee.* (3) Where a sum equal to the fee payable on the revenue licence required for any motor vehicle in respect of any year or part of a year is recovered from any person in pursuance of any Order made under sub-section (1) or by the Supreme Court under sub-section (2), and that motor vehicle is fit to be used on a highway and all other requirements of this Act relating to the licensing of motor vehicles have been complied with in respect of that motor vehicle, the licensing authority shall issue a revenue licence for that motor vehicle in respect of that year or part of a year in like manner as if the application for such licence had been duly made under Part III and accompanied by the amount of the fee payable on such licence.