Secular vs. religious is only one part of the problem.
Of course, unless Herr "professor" was an important Party member or high up in the SA (at least until "The Night of the Long Knives"), he would likely have been sent to a camp for sexual deviants.
This guy sounds like your typical insecure Liberal bully who uses what authority he thinks he has to force his beliefs on his students who for the most part are not in a position to challenge him. Gee, that does sound like the Nazis, doesn't it?
Always remember this: the Nazis were NOT conservatives, the were "National Socialists", i.e. democRats.
The Night of the Long Knives was not about getting rid of deviants; that was the public reason. It was to prevent rebellion by Rohm and his fellows.
There were plenty of deviants left, including Hitler.
Read "The Pink Swastika" by Scott Lively and Kevin Abrams and "The Hidden Hitler" by Lothan Machtar.