ANSA et al; I think the problem you are having here is cultural. I believe some of the respondents DO NOT understand your point (and I don't know how much more clearly you could state it other than above) because they are from the same culture as the decision making process involved here.
If the flight had've been inbound to Australia when this problem arose, the charges on arrival would've been "conduct endangering an aircraft" or "failure to comply with instruction of the crew" or a similarly purposed law. In the UAE, law-making is a very slow-moving animal. I doubt they would've updated the criminal code {and I stand to be corrected on this} to have such 'modern', particular, crimes. Hence, the police just do what they have been doing for a loooooong time, and slap any old charge on that results in a satisfactory result. They are not used to having such things examined, criticised or publicised. Just as many responding here cannot see the problem- the "just lock them up" mentality.
Some cultures don't question authority. IMHO, that's what this issue is about.