Right. The law doesn't forbid unions but it forbids closed shops—compulsory union membership for workers in unionized shops.
This decision to idle Springhill is based on partisan politics and Soviet-style central planning. Michigan is seen as in more dire need of jobs than Tennessee. GM just finished an almost $1 billion retooling of Springhill.
Now they will spend another billion for the same reconfiguration of the Michigan plant.
http://www.knoxnews.com/news/2009/jun/27/spring-hills-hopes-dashed/
No problem, the government has plenty of money to waste.