Except for a restraining order or injunction issued as provided by Section 403.212, a court may not issue a restraining order, injunction, declaratory judgment, writ of mandamus or prohibition, order requiring the payment of taxes or fees into the registry or custody of the court, or other similar legal or equitable relief against the state or a state agency relating to the applicability, assessment, collection, or constitutionality of a tax or fee covered by Section 403.212 or to the amount of the tax or fee due.
Tex. Gov't. Code § 403.221