I'll never understand what compells people to vacation in awful countries (and yes I'd personally consider the entire Arabian peninsula as such amongst other countries) and then be surprised when they get hit with draconic sentences when they violate one of the many laws that don't exist at home. If you really, really want to vacation in that sort of place, then at least look up what you're allowed to say, do, wear, bring with you, whatever. There's news like this every year from all sorts of countries, and it's always the same story about some idiot fecking around (this time literally) and finding out.
I'm absolutely not working the "we must respect their culture" angle here, I'm saying don't vacation in these countries, let their hotels rot empty, and if you really have to go there, tread lightly, know what's allowed, and when in doubt refrain from risking it. Yes even if it's the currently "hype" location. Maybe I'm just old and boring but "I went to prison for the 'gram" does not sound like a winning move to me.