If someone confiscates your passport in Dubai you can have it back within 24 hours by just calling MOHRE at 80060.
It is illegal to do this, enforcement is pretty aggressive.
As to denial of visas? At least the UAE offers these people a chance at a better life, Western countries give them nothing. A slight QOL improvement is much better than none.