By ruling in favor of awarding legal fees to a company that the government accused of widespread sexual harassment, the U.S. Supreme Court may have been sending a broader message that the Equal Employment Opportunity Commission needs to clean up its act.

The court’s unanimous ruling in CRST Van Expedited v. Equal Employment Opportunity Commission recounted the commission’s missteps in bringing a class allegations against the Iowa trucking company, adding dozens of women to the case as it went along without conducting investigations, and failing to conciliate the dispute before filing suit.