What does 'when tyranny becomes law, rebellion becomes duty' mean?

What does ‘when tyranny becomes law, rebellion becomes duty’ mean?