section 555(1)


555(1) Where in any proceedings under this Part an accused is before a provincial court judge and it appears to the provincial court judge that for any reason the charge should be prosecuted by indictment, he may, at any time before the accused has entered on his defence, decide not to adjudicate and shall thereupon inform the accused of his decision and continue the proceedings as a preliminary inquiry.