Nothing in this Chapter, except Sections 309, 310 and 338-E, shall apply to cases pending before any Court immediately before the commencement of the Criminal Law (Second Amendment) Ordinance, 1990 (VII of 1990), or to the offences committed before such commencement.