Tex. Penal Code § 46.05
(a) A person commits an offense if he intentionally or knowingly possesses, manufactures, transports, repairs, or sells:
(d) It is an affirmative defense to prosecution under this section that the actor's conduct:
(f) It is a defense to prosecution under this section for the possession of a chemical dispensing device that the actor holds a security officer commission issued by the Texas Commission on Private Security and has received training on the use of the chemical dispensing device by a training program that is:
Acts 1973, 63rd Leg., p. 883, ch. 399, Sec. 1, eff. Jan. 1, 1974.
Amended by Acts 1975, 64th Leg., p. 918, ch. 342, Sec. 15, eff. Sept. 1, 1975;
Acts 1983, 68th Leg., p. 2650, ch. 457, Sec. 2, eff. Sept. 1, 1983;
Acts 1983, 68th Leg., p. 4831, ch. 852, Sec. 2, eff. Sept. 1, 1983;
Acts 1987, 70th Leg., ch. 167, Sec. 5.01(a)(47), eff. Sept. 1, 1987;
Acts 1991, 72nd Leg., ch. 229, Sec. 2, eff. Sept. 1, 1991; Renumbered from Penal Code Sec. 46.06 and amended by Acts 1993, 73rd Leg., ch. 900, Sec. 1.01, eff. Sept. 1, 1994;
Acts 2003, 78th Leg., ch. 1071, Sec. 1, eff. Sept. 1, 2003.
Acts 2005, 79th Leg., Ch. 1278 (H.B. 2303), Sec. 7, eff. September 1, 2005.
Acts 2019, 86th Leg., R.S., Ch. 467 (H.B. 4170), Sec. 13.001, eff. September 1, 2019.