Well, at least with Flock, "Your elected leaders voted to enter the municipality into the contract."
For the other part, well, them being tried would require them to be in a jurisdiction where the local prosecutor actually has the courage to do his or her job.