52. Procedure on committal of heinous offence.
If any prisoner is guilty of any offence againstprison-discipline which, by reason of his having frequently committed such offences or otherwise, in the opinion of the Superintendent, is not adequately punishable by the infliction of any punishment which he has power under this Act to award, the Superintendent may forward such prisoner to the Court of the District Magistrate or of any Magistrate of the first class 1[or Presidency Magistrate] having jurisdiction, together with a statement of the circumstances, and such Magistrate shall thereupon inquire into and try the charge so brought against the prisoner, and, upon conviction, may sentence him to imprisonment which may extend to one year, such term to be in addition to any term for which such prisoner was undergoing imprisonment when he committed such offence, or may sentence him to any of the punishments enumerated in section 46 :
2[Provided that any such case may be transferred for inquiry and trial by the District Magistrate to any Magistrate of the first class and by a Chief Presidency Magistrate to any other Presidency Magistrate : and]
Provided also that no person shall be punished twice for the same offence.