UNDER WHAT CIRCUMSTANCES IS DECLARATORY RELIEF WARRANTED?
A declaratory judgment is appropriate only where there is a justiciable controversy about the rights and status of the parties and the declaration will resolve the controversy. Bonham State Bank, 907 S.W.2d at 467.
To constitute a justiciable controversy, there must exist a real and substantial controversy involving genuine conflict of tangible interests and not merely a theoretical dispute. Id. The Act does not empower courts to issue advisory opinions. Brooks v. Northglen Association, 141 S.W.3d 158, 164 (Tex. 2004).
In any proceeding under this chapter, the court may award costs and reasonable and necessary attorney's fees as are equitable and just.
Tex.Civ.Prac.&Rem.Code Ann. § 37.009.
In a declaratory judgment action, the decision to grant or deny attorney's fees is solely within the discretion of the trial court. Neeley v. West Orange-Cove Consolidated Independent School District, 176 S.W.3d 746, 799 (Tex. 2005).
Under Section 37.009, a trial court may exercise its discretion to award attorney's fees to either the prevailing or the nonprevailing party. See Barshop v. Medina County Underground Water Conservation District, 925 S.W.2d 618, 637-38 (Tex. 1996). The requirements that fees be reasonable and necessary are matters of fact, while the requirements that fees be equitable and just are matters of law. Bocquet v. Herring, 972 S.W.2d 19, 21 (Tex. 1998).