I find it hard to believe that where products are stored and shipped would count as substance. Quite often warehouses don’t even count as permanent establishment.
That depends on the country you live in. It’s definitely more complex than “I’ll just hire a local director and pay no tax.”
You’d probably have to prove that you don’t manage the company from your home country, that you don’t work for the company from your home country and that you have good reasons for setting up a company in the UAE, i.e. that it’s not just for tax reasons.
Depending on whether your country has CFC rules and how strict they are, you might still have to pay taxes in your home country. If your country has exit taxes, then they’d usually also apply to offshore companies, so you won’t be able to cash out without paying taxes in your home country, not even if you move to the UAE later.
You can probably still save a lot of taxes, but it needs to be set up correctly. You’d be a fool to attempt this without good legal counsel from your home country all along the way.