law: 5. Pending cases.-
  (I) Notwithstanding anything contained in this Act or in the principal Act as amended by this Act,-
  (a) cases pending immediately before the 30th day of June, 1966, before a special Judge in which one or more persons subject to military, naval or air force law is or are charged with and tried for an offence under the principal Act together with any other person or persons not so subject, and
  (b) cases pending immediately before the said date before a special Judge in which one or more persons subject to military, naval or air force law is or are alone charged with and tried for an offence under the principal Act and charges have already been framed against such person or persons, shall be tried and disposed of by the special Judge.
  (2) Where in any case pending immediately before the 30th day of June, 1966, before a special Judge, one or more persons subject to military, naval or air force law is or are alone charged with and tried for an offence under the principal Act and charges have not been framed against such person or persons before the said date, or where, on appeal or on revision against any sentence passed by a special Judge in any case in which one or more persons subject was or were alone tried, the appellate court has directed that such person or persons be retried and on such retrial charges have not been framed against such person or persons before the said date, then, in either case, the special Judge shall follow the procedure laid down in section 549 of the Code of Criminal Procedure, 1898 (5 of 1898), as if the special Judge were a Magistrate.