6-21.7. Attorneys' fees; cities or counties acting outside the scope of their authority.

In any action in which a city or county is a party, upon a finding by the court that the city or county acted outside the scope of its legal authority, the court may award reasonable attorneys' fees and costs to the party who successfully challenged the city's or county's action, provided that if the court also finds that the city's or county's action was an abuse of its discretion, the court shall award attorneys' fees and costs. (2011-299, s. 1.)