(iv) persons undergoing evaluation for competency or found by a court to be incompetent to proceed in accordance with Title 77, Chapter 15, Defendant's Competency to Proceed, or not guilty by reason of insanity under Title 77, Chapter 14, Defenses;
(v) persons who are civilly committed to the custody of a local mental health authority in accordance with this part, and who may not be properly supervised by the Utah State Hospital because of a lack of necessary security, as determined by the superintendent or the superintendent's designee; and
(vi) persons ordered to commit themselves to the custody of the division for treatment at the Utah State Hospital as a condition of probation or stay of sentence pursuant to Title 77, Chapter 18, The Judgment.
(b) Placement of an offender in the forensic mental health facility under any category described in Subsection (2)(a)(ii), (iii), (iv), or (vi) shall be made on the basis of the offender's status as established by the court at the time of adjudication.