In this case, ACLU recovers their expenses and fees and salaries under a Federal Code intended for Civil Rights infractions.
Win or Lose.
Wrong, only if they "substantially prevail".