A South African court has annulled initial agreements the government reached with three countries to help it build...