Actually, they don't have to win in court. They use 42 USSC 1988 as a threat to win out-of-court settlements.
Ah, OK, I hadn't thought of that. Only why is the government caving to threats like that? Hmm. I can, however, see that being used as an intimidation tactic in civil suits between private parties.