(4) If an offer of compromise is not accepted within the time allowed under subsection (1) of this section, the offer is withdrawn and may not be given in evidence at trial. If the defendant fails to obtain a judgment more favorable than the offer:
- (a) The defendant may not recover prevailing party fees or costs and disbursements, attorney fees and expenses that were incurred on and after service of the offer;
- (b) Unless the parties agree otherwise, the court shall give judgment to the defendant for costs and disbursements, attorney fees and expenses that were incurred by the defendant before service of the offer; and
- (c) The court shall give judgment to the condemner for the condemner’s costs and disbursements, other than prevailing party fees, incurred by the condemner on and after service of the offer.