I would also say that how bad it gets for people who end up in legal trouble in the UAE varies a lot and comes down often to the person's nationality (or even perceived ethnicity or religion) and how much their home country's government is able to make an issue of it and matters to the UAE's rulers.