Certificate of principal officer
248.—(1)  If the principal officer certifies that the accused is of sound mind and capable of making his defence, the court shall, unless satisfied to the contrary, proceed with the inquiry or trial or other proceeding.
(2)  If the principal officer certifies that that person is of unsound mind and incapable of making his defence, the court shall, unless satisfied to the contrary, find accordingly, and thereupon the inquiry or trial or other proceeding shall be stayed but if the court is satisfied that the accused is of sound mind and capable of making his defence, the court shall proceed with the inquiry or trial or other proceeding, as the case may be.
(3)  The determination of the issue as to whether or not the accused is of unsound mind and incapable of making his defence shall, if the finding is that he is of sound mind and capable of making his defence, be deemed to be part of his trial before the court.
(4)  The certificate of the principal officer shall be admissible as evidence under this section.
(5)  If the accused is certified to be of unsound mind and incapable of making his defence, it shall not be necessary for him to be present in court during proceedings under this section and he may be detained in a psychiatric institution pending an order under section 249.