In regards to Qatar: Yeah there is some pressure to end it from up top. And the people are afraid of the qatari government, especially if you don't hold a qatari passport.
My dad knows the industry VERY well. The issue hasn't been eradicated. The smaller businesses especially those owned by non qataris (and i won't get into the business structures required since its beneficial to have a qatari have 51% ownership) are too scared to fuck around and find out, yet they do sometimes.
Bigger companies can do whatever tf they want as is the case everywhere in the world.
When I was in school my school took our teachers passports. Thats when I learnt of this rule. Bizzare. But Qatar treat foreigners, particularly south Asians and Africans as disposable.
'Westerners' are valued and seen as human, will be paid 10× what a black or brown person would.