It happened in Germany, where he went to jail, because he regularly showed forbidden Nazi insignia as well as regularly doing the Hitler salute and shouting "Sieg Heil" - all of which is forbidden by law in Germany.
Especially after he was already on probation for earlier transgressions against these laws.
He did not go to jail because he "only" teached his dog (it was actually his dog) a poor taste trick.