(a) The state court having jurisdiction of a proceeding instituted by the state agency to acquire real property by condemnation shall award the owner of any right to, or title to, or interest in, the real property a sum that will in the opinion of the court reimburse the owner for reasonable costs, disbursements, and expenses, including reasonable attorney, appraisal, and engineering fees, actually incurred because of the condemnation proceedings, if
(1) the final judgment is that the state agency cannot acquire the real property by condemnation; or
(2) the proceeding is abandoned by the state agency.
(b) An award made under (a) of this section shall be paid by the state agency for whose benefit the condemnation proceedings were instituted.
(c) The court rendering a judgment for the plaintiff in a proceeding brought against a state agency, awarding compensation for the taking of property by the state agency, or the attorney for the state agency effecting a settlement of any such proceeding, shall determine and award or allow to the plaintiff, as a part of the judgment or settlement, a sum which will in the opinion of the court or the attorney for the state agency reimburse the plaintiff for reasonable costs, disbursements and expenses, including reasonable attorney, appraisal and engineering fees, actually incurred because of the proceeding.
(d) If an inconsistency occurs between the provisions of this section and the Alaska Rules of Civil Procedure, the provisions of the Rules of Civil Procedure govern.