In a realistic socialism, the government IS the union. They tell you what’s good for you and you’d better do it.
When I worked in China 42 years ago, my interpreter was a magnificent concert violinist. He was incredibly talented. But the symphony already had it’s full of violinists and told him “You are now an interpreter.” He dutifully became an interpreter.