(1) Subject to the other provisions of the Code, the powers and' duties of a Judge or Magistrate may be exercised or performed by his successor in office. (2) When there is any doubt as to who is the successor in office of any Magistrate, the Sessions Judge in the case of Judicial Magistrate, and the District Magistrate in the case o...