Nov. 5 (UPI) -- A South African court on Wednesday ordered an anti-immigrant group to cease attempts to block foreigners from public spaces.

The court in Johannesburg said those with Operation Dudula must stop blocking those unable to show a South African identification card -- typically foreign nationals -- from accessing schools and hospitals.

In August, authorities arrested Dudula members for blocking public entrances and released them with a warning. A judge ruled the vigilante group's conduct violated rules preventing citizens from enforcing the law.

"These risks are not confined to non-citizens. Any citizen who is undocumented or has lost or misplaced their identity documents would face the same risks," Judge Leicester Adams said.

Related