There were intentional illegal activities that took place with the assistance of various legal bodies that were created to act in accordance with the law.
If the police is doing something illegal it doesn't make it legal just because they are the police! They will be charged.