The UN General Assembly further recognises the Polisario Front (PF), which took up arms against Morocco in the war, as representatives of the Sahrawi people, who, it says, have an "inalienable right" to self determination.
The High Court of South Africa delivered a decision on the NM Cherry Blossom matter today, ordering that the ship remain docked in South Africa until a substantive hearing was held.
The territory's own constitution made clear that the mineral wealth, energy resources, territorial waters and other resources were public property, the decision said.
"Administering powers may only allow the exploitation of natural resources on behalf of the peoples of a territory if to do so will be for the benefit of the peoples of that territory or in consultation with their representatives."
The mining companies did and could not claim to have obtained the phosphate for the benefit of the people of Western Sahara.
"Those who may benefit from the mining of phosphate are not the 'people of the territory' but, more likely, Moroccan settlers," the decision said.
The applicants were told to issue a further court summons to the mining companies within a month, otherwise the current order would lapse.
Ballance Agri-Nutrients chief executive Mark Wynne previously told NZ Newswire it was comfortable with the legality and ethics of its phosphate source in the Western Sahara.
He said it was the first time a shipment had been seized and it was working with suppliers and lawyers to ensure it got through.
Ballance had been dealing with Moroccan supplier OCP for nearly 30 years and sourcing phosphate from that area for about 20 of those years, he said.
- Additional reporting Hawke's Bay Today