If they've overstayed their visa or their visa doesn't permit them to work, I'm confident they'll be sent back to wherever they came from.
I've traveled and worked in other countries. You have to carry your passport (or a certified copy of it) along with your visa everywhere in case you are stopped by law enforcement - otherwise, out you go.
This is normal stuff, people, and these workers should know that.