If you want to spend the time and money to hire a lawyer, you will almost always beat them. Very few cities are actually operating them legally. The problem is it wil cost you a lot more than the ticket cost to fight it.