Hello fellow scandinavian.
Well, it is the same in my country (Denmark), we have retsinformation.dk (litterally "information of the law"), but that does not hinder a corrupt state from altering "history" as they see fit.
Also, my mother was a german teacher and her ex-DDR speakers (many who were quite some time in prison) told us that, that basically all of them where enprisoned with due process. Their problems were, that the laws where constructed so you were a criminal if you did X, but also (due to a different law) if you did not do X.
It is the basic catch-22, that you cannot escape.
You are intimately dependent on the benevolence of your state/society, and if your state/society is not benevolent you can only throw your life at trying to change it (for everybody else)... You will the most likely fail (and be dead) unless a lot of (by definition) uncoordinated action happens at once.
Even in my country that boast of being a free and civil society we have problems once in a while.
In the 1990 we had a police chief should (sadly for him on camera), "shoot at their legs" (police shooting at citizens is very uncommon in Denmark) at a somewhat violent demonstration.
And we have what is called the Tibetian case where our police mislead protesters so that the visiting Chinese gov people did not have to look at the (otherwise legal) demonstration...