Tex. Gov't Code § 3002.109
(a) Notwithstanding any other law, including Chapter 37, Civil Practice and Remedies Code, and Sections 22.002, 22.221, 24.007, 24.008, 24.009, 24.010, and 24.011 of this code, a court of this state does not have jurisdiction to consider and may not award declaratory or injunctive relief, or any type of writ, including a writ of prohibition, that would:
(2) restrain this state, a political subdivision, an officer, employee, or agent of this state or a political subdivision, or any other person from:
Added by Acts 2025, 89th Leg., 2nd C.S., Ch. 20 (S.B. 8), Sec. 2, eff. December 4, 2025.