Notwithstanding anything contained in section 29 of the Code of Criminal Procedure, 1973 (2 of 1974), it shall be lawful for the court of ordinary jurisdiction to pass any sentence authorised by this Act, except a sentence of imprisonment for a term exceeding six years in excess of his powers under the said section.