I’m glad you brought that up. Yes. I think that’s exactly what he meant.
He had to differentiate his brand of socialism.
So, early on, Hitler embraced gays, trannies, and homosexual pedohiles as his early supporters. The Soviets went with “no nations, just class”, to unite the various minority groups , including Jews who had been on the recieving end of (actually real) racist hate in Russia.
Thr modern left has combined both approaches, embracing perverts like the Nazis and claiming their is one world.