A court in South Africa has ruled that illegal immigrants have the same labour rights as other workers, the Johannesburg-based