As far as I'm concerned, it doesn't actually matter. There are plenty of republics that have done grave wrongs to their citizens, and such citizens are entitled to rebellion to restore their rights. The state, regardless of its political system, will always make pushing back against itself illegal, but it doesn't automatically make it illegitimate.