How governments pay: lawsuits, budgets and police reform