A South African court has found that the bequest by Grantland Michael Bray, who believed a white genocide was imminent, to a white supremacist paramilitary group is against the law.