Tex. Code Crim. Proc. art. 46B.071
(a) Except as provided by Subsection (b), on a determination that a defendant is incompetent to stand trial, the court shall:
(1) if the defendant is charged with an offense punishable as a Class B misdemeanor:
(2) if the defendant is charged with an offense punishable as a Class A misdemeanor or any higher category of offense:
(b) On a determination that a defendant is incompetent to stand trial and is unlikely to be restored to competency in the foreseeable future, the court shall:
Added by Acts 2003, 78th Leg., ch. 35, Sec. 1, eff. Jan. 1, 2004.
Acts 2011, 82nd Leg., R.S., Ch. 822 (H.B. 2725), Sec. 9, eff. September 1, 2011.
Acts 2017, 85th Leg., R.S., Ch. 748 (S.B. 1326), Sec. 10, eff. September 1, 2017.