> I used to have a nazi symbol on my car just to rile people up
You can't then complain that people get riled up. It was your intention to provoke them; they were provoked; and now you suffer the consequences for provoking them.
If you don't wish to suffer those consequences you have the freedom to not behave like a fucking idiot.
That doesn't matter in this context. When you visit a country, you respect their laws, no matter how unjust they may be.
However, you will find very few people who would agree with you that it is unjust for someone to face consequences for directly and provocatively insulting a policeman with his country's greatest shame in recorded history.
>"locked up for 3 months for making a friendly joke"
Shouting "heil Hitler!" at a German -- especially if it's an authority figure -- is not "a friendly joke". It's a grave insult. If you do not understand why that is, I would suggest you spend a little time researching 20th century history.
Your example with the tree cutter is false equivalence. In his case, it would be a tragedy, which could have been prevented through the use of specialized knowledge. Maybe he didn't know, maybe he was forgetful, maybe he was simply negligent.
If you wanted to make the cases more equivalent, a better example would if he climbed to the top of a very tall tree, and then sawed over the branch he was sitting on. Clearly stupid and with absolutely no common sense.