565.
(1) When any person having been convicted—
(a) by a Court in British India of an offence punishable under section 215, section 489A, section 489B, section 489C, or section 489D of the Indian Penal Code, or of any offence punishable under Chapter XII or Chapter XVII of that Code, with imprisonment of either description for a term of three years, or upwards, or
(b) by a Court or Tribunal in the territories of any Prince or State in India acting under the general or special authority of the Governor General in Council, or of any Local Government, of any offence which would, if committed in British India, have been punishable under any of the aforesaid sections or Chapters of the Indian Penal Code with like imprisonment for a like term,
is again convicted of any offence punishable under any of those sections or Chapters with imprisonment for a term of three years or upwards by a High Court, Court of Session, Presidency Magistrate, District Magistrate, Sub-divisional Magistrate, or Magistrate of the first class, such Court or Magistrate may, if it or he thinks fit, at the time of passing sentence of imprisonment on such person, also order that his residence and any change of or absence from such residence after release be notified as hereinafter provided for a term not exceeding five years from the date of the expiration of such sentence.
(2) If such conviction is set aside on appeal or otherwise, such order shall become void.
(3) The Local Government may make rules to carry out the provisions of this section relating to the notification of residence or change of or absence from residence by released convicts.
(4) An order under this section may also be made by an Appellate Court or by the High Court when exercising its powers of revision.
(5) Any person against whom an order has been made under this section and who refuses or neglects to comply with any rule so made shall be deemed, within the meaning of section 176 of the Indian Penal Code, to have omitted to give a notice required for the purpose of preventing the commission of an offence.
(6) Any person charged with a breach of any such rule may be tried by a Magistrate of competent jurisdiction in the district in which the place last notified by him as his place of residence is situated.