The law if any ruler can be unjust and if you tolerate that law then those acting in accordance to it are immune from future punishment. If the ruler is unjust then you must rebel if you want to change thier laws.
Blood usually but always is the source that allows establishment of a military which must first accept that form of government and then the people need only tolerate the rule of law enforced ultimately through the military.
Any source of law that is capable of enforcing that law is legitimate.
But you can disagree with authoritatians for example and fight to replace them with a democracy (Iraq is calling, they want Saddam back! Lol jk) but even though you can do so it is unjust and under rule of law criminal to punish someone who followed the law of the land or to creatr laws that punish people for acts done before the law was passed.
Regardless, by that philosophy, they would be perfectly justified to take the king's property. If they are capable of doing it, then it's legitimate.
Advocating for anything less makes you the criminal and law breaker. Whatever injustice you face you have deserved it already because you accepted injustice against others.