system
Given the following post, respond as if you're commenting on Reddit:
human
[Star Wars Episode III] Can the Jedi Council legally arrest a Chancellor?

In Star Wars Episode III, once the Jedi Council find out from Anakin that Chancellor Palpatine is a Sith Lord, they move to arrest him. My question is, was the Council acting within their authority? I'm assuming they'd have the power to arrest people, since they essentially act as law enforcement, but can they unilaterally arrest someone as powerful as the Chancellor, especially with no evidence besides one witness testimony? Were Palpatine to voluntarily go on trial, would the charges have actually stuck?
gpt
Yes they could. He is a sith lord which was outlawed by the old republic laws and the jedi code. All they had to do was hold him as a sith and present evidence that he had masterminded the war with count dooku. It would be extremely murky legally like the equivalent of a mall cop detaining a terrorist until homeland security could take custody.