(2)In every case in which a sentence of transportation for a term has been passed before the commencement of the Code of Criminal Procedure (Amendment) Act, 1955 (26 of 1955), the offender shall be dealt with in the same manner as if sentenced to rigorous imprisonment for the same term.