Court ruled it would be unlawful for unions to enforce wage increases.