MS did "buy" the brand for this use; for two years.
e.g. http://allthingsd.com/20130903/microsoft-deal-could-mean-end...
"But when it comes to smartphones, Microsoft only has the right to use the Nokia name on Windows Phones that are in the market when the deal closes"