If the respondent is not the prevailing party, the court may assess against the respondent all direct expenses and costs incurred by the prosecutor or other appropriate public official and law enforcement officers under sections 452.905 and 452.910.