Notwithstanding anything to the contrary contained in the Code of Criminal Procedure, 1973 (2 of 1974), or any preventive detention law for the time being in force, no proceeding shall be instituted and no order shall be passed against any child under Chapter VIII of the said Code.