I have been on the phone to my local reseller. It is legal to purchase the license from the company however you have to be buying other assets with it ( which might or might not involve the whole company ). So, the process goes like this:
1) The company you are purchasing the software from decides to restructure and sell off some of their design department to you.
2) You buy the some of the design department which happens to include some copies of Solidworks.
3) You ask for the licenses to be renames to you.
This appears to be completely legal.
James