Mos Def is in hot water after trying to pull a fast one in South Africa.

Celebrities In Trouble: Teresa Giudice Planning Book Signing After Prison Release

The socially-conscious rapper and actor, who changed his stage name to Yaslin Bay, was arrested after he allegedly broke immigration laws in South Africa when trying to leave the country Thursday. He already made an appearance in court and has two weeks to leave, the Associated Press reported Friday.

He was taken into custody for trying to use a “world passport” that authorities did not recognize when he attempted to leave South Africa, Department of Home Affairs spokesman Mayihlome Tshwete said.

Celebrities In Trouble: Phaedra Parks Seeks Help For Sons Amid Apollo Nida’s Prison Sentence

He first went to South Africa in 2013 but was soon in the country illegally, as he'd overstayed his visitor status by the following year (even though he has lived in Cape Town since 2013). Now he cannot return until 2021. But all hope isn’t lost for him as he could file an appeal. And he’s not alone. Some of his family and others close to him were also in the country illegally.

Meanwhile, fans are showing no mercy to him on Twitter.

Some said they hoped the Customs Officer used a pun with his name.

Others couldn't help but laugh at Mos Def’s attempt to use a “World Passport.”

Still, one said that if anyone deserves a “world passport,” it’s Mos Def.

But another said he was thinking a little too highly of himself for trying to get around the law.

Another wondered where else one could use a “world passport.” “In North Korea??”