Speaking of Nazi stuff; Patterns of Force from TOS..
Boy over the years I've seen my fair share of dumb stuff that had Nazi Germany forced onto it, usually cause the uniforms are way too cool but they make up some ridiculous reasoning for the premise, this one takes the cake, or at least top 5 on the "Silly Nazi Germany handling in media" list heh
To be honest there might be a dark political message underneath, or at least that's what I got. Which is that if you want a community to live in perfect harmony and order you gotta resort to fascism, that's basically professor John Gill's line of thinking in this episode. Kirk and Spock say that it's a bad idea but they don't offer an alternative. The alternative is probably something like the regime that governs the federation on Star Trek since it's supposed to be a depiction of advanced human beings that have risen above pity conflict and racism thus turning efforts to scientific advancements that make the world of Star Trek, but we don't really know how they made that work initially, hence the fiction.
Funny thing is that one the same day I saw that episode, I saw an Archer episode where he gets brought on to a movie set to protect a movie star and the movie is set in the 40's, he goes "Man, it really looks like the '40s. This is weird, right? Like the time Star Trek went to Chicago. Or Nazi Germany, for whatever idiot reason"