The Chancellor undoubtably did some really evil things (and/or made Vader do them) after the scene in question, but given only what happened leading up to this scene I wonder if Windu was in violation of the Jedi code or laws of the Republic by trying to kill Chancellor Palpatine.
Chancellor Palpatine was the freely elected leader of the Republic (he was elected to office and his term was extended by a democratic vote). If he had killed anyone or broken any laws, I don't think evidence of that was shown to the viewer, or at least not to Windu, yet Windu:
- trespassed onto his private property,
- decided to "arrest" him based on an unsubstantiated rumor that he used "the dark side" (which I have a hard time imagining was against any law anyway),
- horribly disfigured the elderly man and
- subsequently decided that Palpatine was "too dangerous to let live" after he defended himself.
He attempted to kill Palpatine as he lay writhing in pain and begging for his life.
I can understand that this was done to help humanize Anakin's decision to save the Chancellor, but I can't see how Master Windu was representing "good" and the Chancellor or Anakin "evil".
It seems like Windu was acting criminally and attempting to commit murder (?). I don't see how Anakin's protection of the Chancellor or the Chancellor's self-defense could be considered evil or unethical.
