In the German state of Bavaria, dozens of people are in 'preventive detention' because they might otherwise engage in climate protests, specifically around the car industry exposition IAA in Munich.
Apparently possible for a month there...
https://www.zeit.de/gesellschaft/zeitgeschehen/2023-09/letz...
As much as Germany denies it, it has been proven in the last 10 or so years that they really loved their nazi days. France seems to also love having been under nazi occupation too, and they seem to have a similar anti-environmentalist attitude.
Their motivations were still racist and bad, but the Nazis in Germany were not anti-environment.
Unless you mean modern Nazis, at which point ok maybe I haven't really researched modern Nazis. I know the people they support certainly are, whether they admit they're Nazis or not.
I do think though that the parent comment was mainly referring to detaining people without due process when talking about Nazi Germany, rather than the environmental perspective.