However, if the defendant is serving an unrelated executed sentence in the department of correction at the time the defendant is committed to the division of mental health and addiction under this section, the division of mental health and addiction shall provide competency restoration services or enter into a contract for the provision of competency restoration services by a third party at a department of correction facility agreed upon by the division of mental health and addiction or the third party contractor and the department of correction. A contract entered into with a third party under this subsection may confer to the third party all authority the division would have in providing competency restoration services to the defendant at a state institution (as defined in IC 12-7-2-184).
IC 35-36-3-1