I don’t know enough about German politics to know what AfD is.
I do know that Germany tried the exact same method to squash the Nazi party and the result is the party became both more powerful and more radical, so you’d think they wouldn’t repeat the same mistake.
They put Hitler on trial for the Beer Hall Putsch, and for all intents and purposes that launched his political career.
Sounds like they took a lesson from the American Democrat Party.
The AfD is the conservative party in Germany. Everyone to the left of them is trying to frame them as terrorists even though the radicals are all on the left.
The leader of AfD describes herself and her party as “Libertarian”. Suppressing a popular movement of any sort usually just makes it stronger. Especially when those suppressing it demonstrably incompetent.