Depends on what they are ruling is. The ruling as I last checked was to suspend it, it was not struck down. Even if they only object to one part of the order it suspends the entire order. And it depends on the judge, which is why there are different levels of judiciary. It’s murky water. The judiciary interprets and enforces the law, they cannot make something legal or illegal. They can determine something does not jibe with the laws on the books, but they cannot make it legal or illegal. And a suspension of an action does not mean it’s illegal, it means it needs more scrutiny.
Of course businesses do a risk assessment when it comes to locations of questionable security. Why open a business somewhere if it has a high risk of getting burned to the ground?
You’re not going to open up a Georgia Pit BBQ in Mogadishu because it will be destroyed in no time flat. But you could open one up in Beijing because the risk is much lower.