253.21 Commitment; proceedings; restoration of mental health.
When any person confined in the Minnesota Correctional Facility-Stillwater or the Minnesota Correctional Facility-St. Cloud is alleged to be mentally ill, the chief executive officer or other person in charge shall forthwith notify the commissioner of human services, who shall cause the prisoner to be examined by the court exercising probate jurisdiction of the county where the prisoner is confined, as in the case of other persons who are mentally ill. In case the prisoner is found to be mentally ill, the prisoner shall be transferred by the order of the court to the Minnesota Security Hospital or to a state hospital for people who are mentally ill in the discretion of the court, there to be kept and maintained as in the case of other persons who are mentally ill. If, in the judgment of the chief executive officer, the prisoner's mental health is restored before the period of commitment to the penal institution has expired, the prisoner shall be removed by the commissioner, upon the certificate of the chief executive officer, to the institution whence the prisoner came to complete the sentence.