The administrative tribunal in French Polynesia has rejected an attempt by the speaker to declare yesterday's assembly meeting illegal.
This appears to pave the way for presidential elections to go ahead in the assembly in two days.
The speaker, Antony Geros, had challenged the assembly's third vice-president decision to call yesterday's meeting, claiming that his earlier choice of October 25th as election date was valid.
But the tribunal rejected his reasoning.
Meanwhile, the tribunal has referred a case brought by the ousted president, Oscar Temaru, last night for further deliberation to Paris.
He claims the no confidence motion which ousted him nearly two weeks ago was not signed by enough MPs for it to be valid.
The court action follows repeated refusals by France to dissolve the assembly.