A. In any civil case brought under Article 5 (§ 2.2-4025 et seq.) or § 2.2-4002, 2.2-4006, 2.2-4011, or 2.2-4018, in which any person contests any agency action, such person shall be entitled to recover from that agency, including the Department of Game and Inland Fisheries, reasonable costs and attorney fees if such person substantially prevails on the merits of the case and (i) the agency's position is not substantially justified, (ii) the agency action was in violation of law, or (iii) the agency action was for an improper purpose, unless special circumstances would make an award unjust. The award of attorney fees shall not exceed $25,000.
B. Nothing in this section shall be deemed to grant permission to bring an action against an agency if the agency would otherwise be immune from suit or to grant a right to bring an action by a person who would otherwise lack standing to bring the action.
C. Any costs and attorney fees assessed against an agency under this section shall be charged against the operating expenses of the agency for the fiscal year in which the assessment is made and shall not be reimbursed from any other source.
1981, c. 446, § 9-6.14:21; 1997, c. 692; 2001, c. 844; 2016, c. 625.