When upon indictment, complaint, or civil action any person is found guilty of erecting, causing, or continuing a nuisance, the court before whom such finding is had may, in addition to the fine imposed, if any, or to the judgment for damages or cost for which a separate execution may issue, order that such nuisance be abated or removed at the expense of the defendant, and, after inquiry into and estimating as nearly as may be the sum necessary to defray the expenses of such abatement, the court may issue a warrant therefor.
Iowa Code § 657.4