6. If any person who has previously twice or oftener been convicted of any crime and has been sentenced on such conviction or convictions to undergo rigorous imprisonment exceeding in the aggregate one year is again convicted of a crime before the High Court or a Magistrate's Court, such court, in any case in which it would not otherwise have jurisdiction, so to do, shall have jurisdiction, anything in the Code of Criminal Procedure Act, the Penal Code, or any other enactment to the contrary notwithstanding, to sentence him to rigorous imprisonment for a period not exceeding two years, in addition to any punishment other than imprisonment to which he may be liable. *Sentence to be passedon criminals previously convicted.*