The Jedi and the Republic are using a slave army to battle an independence revolt against a corrupt government. Their enemy may be a fascist corporatocracy ruled by a Sith Lord, but the other guy being wrong and an asshole doesn't automatically make you right. He's out of line, but he's right.