That's not even going into their de facto slavery with foreign construction workers, environmental damage, and sexism.
Many western people think they can just go anywhere and expect laws to work the same as they do at home. I would not go to a country with such insanity but if you do, observe the local laws and customs. They don’t put up 100s of scary posters at the Thai border for nothing for instance, tourists seem to blatantly break these religious rules and they will face consequences. Same with a lot of Middle East, African and Asian countries. Just do your research or simply do not go; it is not like Europe or the US, although of course for most people it feels like it because they don’t get caught (by pure luck; I doubt most holidaying for a week in Dubai know about this) when they kiss on Ramadan.