"Originally Posted by TX PC §46.03. PLACES WEAPONS PROHIBITED
(a) A person commits an offense if the person intentionally, knowingly, or recklessly possesses or goes with a firearm, illegal knife, club, or prohibited weapon listed in Section 46.05(a):
1. on the physical premises of a school or educational institution, any grounds or building on which an activity sponsored by a school or educational institution is being conducted, or a passenger transportation vehicle of a school or educational institution, whether the school or educational institution is public or private, unless pursuant to written regulations or written authorization of the institution;
2. on the premises of a polling place on the day of an election or while early voting is in progress;
3. on the premises of any government court or offices utilized by the court, unless pursuant to written regulations or written authorization of the court;"
You can, and should, petition the court for written authorization as provided for in the statute. It doesn't make sense to me to be in violation when there is a remedy available.