No, not literally everyone. 10% of the population was gay back then, same as now. The institute of sexology in Germany was performing bottom surgery for trans women.
Homophobes want you to think gay acceptance is new, but it’s not. There have always been people who could tell right from wrong. Stalin wasn’t one of them.
He signed the law when it arrived on his desk. If he had been an ally, he wouldn’t have signed it. Drag can’t imagine Joe Biden signing a law like that, even if the house and senate approved it. Joe Stalin is held to the same standard by history.