Every time the State passes an unconstitutional law, and there's a civil rights lawsuit to overturn that law, the government has to pay not only to defend the State but also must pay the attorney fees and court costs of the civil rights activists who were successful in overturning it.  The theory is that the civil rights activists have done a service to the State by defending the civil rights of its people, even though the legislature and governor screwed up.