If the respondent is not the prevailing party, the court may assess against the respondent all direct expenses and costs incurred by the Attorney General and law enforcement officers under § 9.5-315 or § 9.5-316 of this subtitle.