If, in any inquiry into an offence or a trial before a Magistrate, it appears to him at any stage of the proceedings before signing judgment that the case is one which ought to be tried by the Court of Session, he shall Commit it to that court under the provisions hereinbefore contained *[and thereupon the provision of' Chapter XVIII shall apply to the commitment so made].
*Ins. by Act 45 of 1978, Sec. 26 (w.e.f. 18-12-2023).