Services required by the judicial process to conduct the trial which include assessment and treatment services provided to people remanded by the courts and tertiary treatment and rehabilitation services required by the Ontario Review Board in cases where the authority over the person passes to the ORB. [...] The amendments in Part XX.1 extended the application of the Code’s mental disorder provisions to less serious summary conviction offences and significantly extended the ability of courts to access mental health services based on the needs of the criminal justice system rather than clinical assessments of the accused person’s condition. [...] In the context of ongoing service pressures, the forensic system and related mental health and criminal justice systems are striving to maximize the benefit of the resources available to provide the forensic services needed by Ontario. [...] Other stakeholders include, but are not be limited to the Ministry of the Attorney General, the Ministry of the Solicitor General, the Ministry of Community and Social Services, the Ministry of Correctional Services, Forensic Program Directors, the Ontario Review Board, and Academic Health Sciences Centres affiliated with the Ontario forensic system. [...] In all cases of transfer, a written agreement, where appropriate, will be in place that specifies the arrangements for the return of the patient to the referring correctional facility when, in the opinion of the Regional Forensic Services Program or Provincial Forensic Hospital, the patient is a suitable candidate for return.