The court reviewing a decision in a contested case under Chapter 2001, Government Code, may award a person, in addition to all other costs allowed by law or rule, an amount not to exceed $1 million for reasonable attorney's fees and costs incurred in defending against a frivolous regulatory action during the contested case and judicial review of the decision in the contested case if:
Tex. Civ. Prac. and Rem. Code § 105.005