Penal Code 1369
In a trial to determine the mental competence of a defendant, the court must appoint a psychiatrist or licensed psychologist to examine the defendant. If the defendant is not seeking a finding of mental incompetence, the court shall appoint two psychiatrists or psychologists. The examiners shall evaluate the nature of the defendant's mental disorder, the defendant's ability to understand the nature of the criminal proceedings, and whether antipsychotic medication is medically appropriate to restore the defendant to mental competence. The psychiatrist shall inform the court of the appropriateness of antipsychotics. If the defendant is thought to be developmentally disabled, the court shall order the regional director for the developmentally disabled to examine the defendant. The prosecution and defense may offer evidence as to the defendant's mental competence.
