(1) The court having jurisdiction of a proceeding instituted by an agency as defined in section 76-1217 to acquire real property by condemnation shall award the owner of any right, title, or interest in such real property such sum as will, in the opinion of the court, reimburse such owner for his or her reasonable costs, disbursements, and expenses, including reasonable attorney's, appraisal, and engineering fees, actually incurred because of the condemnation proceedings if (a) the final judgment is that the agency cannot acquire the real property by condemnation or (b) the proceeding is abandoned by the agency. If a settlement is effected, the court may award to the plaintiff reasonable expenses, fees, and costs.
(2) The court having jurisdiction of a proceeding instituted by a condemnee under section 76-705 shall award the condemnee such sum as will, in the opinion of the court, reimburse the condemnee for his or her reasonable costs, disbursements, and expenses, including reasonable attorney's, appraisal, and engineering fees, actually incurred as a result of the taking of or damage to the condemnee's property if (a) the court renders a judgment in favor of the condemnee or (b) a settlement is effected.