The justice system guarantees everyone due process, and is founded on the presumption of innocence: everyone is innocent until proven guilty.
Elected representatives make the laws, the courts resolve disputes and the police enforce the law. Everyone has to obey it, judges, politicians and police officers included.