The solution is just very easy and simple. Do not have the police at any “peaceful” demostration. Then they can’t complain and use the corrupt gubmint for protection.
That’s some smarts in action! You can host the riot in your back yard. Because when they can’t complain.. ha, that means.. something!