Notwithstanding Rules of Criminal Procedure, rule 20.01, sections 611.40 to 611.59 shall govern the proceedings for adults when competency to stand trial is at issue. This section does not apply to juvenile courts. A competency examination ordered under Rules of Criminal Procedure, rule 20.04, must follow the procedure in section 611.43.