French Polynesia's Opposition says it will challenge the new mining code in France's highest administrative court.
The new law was adopted as an Australian company, Avenir Makatea, is seeking a permit to resume mining on Makatea and extract 6.5 million tonnes of phosphate over 27 years.
Opponents say the law opens the way to wholesale destruction and sells out French Polynesia's heritage.
The government says that is not the case.
Walter Zweifel reports.