Since insurance companies make a profit, we can assume from the mathematical evidence that the taxpayers (who pay the taxes that pay the premiums for these policies) are ultimately paying for the settlement. The insurance companies might just spread the pain over a number of years.
And over what I assume is a large pool of municipalities and agencies.