For the purposes of proceedings under this Part, a court may (a) call such expert evidence as it thinks fit; and(b) order the production of medical reports in respect of a defendant and for that purpose may require the defendant to undergo a medical, psychiatric or psychological examination.