Maybe don't underfund and cut numbers in the first place?
Breaking a very specific law, but not the most common ones, or the ones that impact people the most. I'm all for reducing anti-social behaviour, along with other things. We know this will be instead of something else though...
Speed cameras catch people exceeding the speed limit. They don't catch people driving too fast in treacherous conditions, driving too close to the car in front, drink-driving, driving without due care and attention, driving under the influence of drugs, etc.
Like I said, it wouldn't surprise me if the technology doesn't work in the real world, leading to sound (on intended) prosecutions. We know how many millions were spaffed up the wall on non-effective PPE during the pandemic, and that was a fairly simple brief.
I've also worked on a number of government/public sector IT projects, and can assure you that supposedly tested and suitable solutions can prove to be far from best, and some simply aren't fit for purpose.