Cops, prosecutors, public defenders, judges, court personnel, probation personnel, corrections personnel and holding cells cost money.  If you lay off these key personnel because of budget gaps, the wheels of justice will turn slower.  You can't have dividends and rebates to oil companies and expect something for nothing.