For heaven's sake, @Jdnd -- the UAE 'government' is a tribal dictatorship run by a few interrelated families only interested in the living conditions of migrants insofar as they want to present a superficially Westernised face to the world in order to continue to roll out the business model for Dubai, which, lacking oil, has had to diversity into tourism and financial services.
It does this in part by importing tens of thousands of influencers to promote Brand Dubai as safe and luxurious, rather than a country in a politically volatile spot in the ME in which peaceful protest and freedom of expression are criminalised. Hence the frequent reminders at the moment that Big Brother is watching, and that you need to stay on message. Influencers are propagandists for an authoritarian regime that likes to pretend it's not.
And bluntly, lot of laws have been introduced or modified in the UAE, with minimal attempts at enforcement. It's very easy to pass a law when a country is your personal fiefdom, and you don't have to get it through parliament. It makes you look good on paper, and you can point to it and say 'See, it's illegal to not let your housemaid have eight consecutive hours of sleep'.
As one very minor (and mildly funny) example, when I was living there, the government passed a law making breastfeeding compulsory. You had to breastfeed for two years, or you would be contravening the rights of your child to a healthy start in life, and could technically be sued or otherwise punished, including by your husband. And this is the best bit. Members of the federal council also added that for women unable to breastfeed, wet nurses would be provided.
Obviously, this completely unenforcable bit of nonsense has just sat on the statute books since, with no one working out the dirty details about who checks how a baby is fed, who determines whether a woman is really unable to breastfeed, who sources the wetnurses etc etc.