If your government is itself not legitimate it must be legitimate to oppose it, sometimes using violence. If you think that is wrong and "the law is the law" click this link and experience the efforts of the brave people who became resistants in the face of oppressive German occupiers and their collaborators during the second world war.
Over two hours of films and many documents from survivors and official sources illustrate "From Poitou to the Pyrenees", stories of resistance to the Vichy and German regimes.
http://lesresistances.france3.fr/documentaire-pp