It'll be interesting to see how this works for passengers coming to and from all those countries where the vast majority of meds (including meds that are prescription-only in some 'grown-up' countries) are sourced over the counter, without a prescription. India, for instance, where you can buy every product you can imagine, as a walk-in customer - and which supplies a healthy proportion of Emirates' passenger load.
Especially as those pax are highly likely to find about this new law for the first time when they get pulled over by the cops while in transit through DXB....