When issuing a final order in an action challenging the grant or denial of an exploration license or operating permit issued under this part, the court may award costs of litigation, including reasonable attorney and expert witness fees, to a prevailing or substantially prevailing party whenever, in its discretion, the court determines an award is appropriate.
§ 82-4-350, MCA