7. Notwithstanding anything contained in section 25 of the General Clauses Act. 1897, or section 64 of the 5[Penal Code], a Court sentencing an offender under section 3 shall not be competent to direct that, in default of payment of the imposed, he shall undergo any term of imprisonment.