Lol, I'm a bit nervous just considering a move to SE Asia (or the like) with my clothes.
Plenty has been said about Saudi Arabia, but yeah -- I've explicitly heard of people getting arrested. Expats get a fair bit of leniency, but only as long as they are not seen doing anything objectionable.
I'm a bit amazed that the people involved in the job offer didn't consider this. As you said, though, it might be an intermediary and that person might not care.