The UD absolutely could, but Microsoft couldn't without facing massive legal trouble. That is, if the US legal system follows through and actually enforces EU court orders.
Regardless, unless specifically being forced to do so by the US, Microsoft wouldn't have any reason to leave a billions-dollars market
"Why should we solve the world's problems for free? The rest of the world should pay us!"