If the respondent is not the prevailing party, the court may assess against the respondent all direct expenses and costs incurred by the State's Attorney or other appropriate public official and law enforcement officers under Section 315 or 316.
750 ILCS 36/317