(CNN)Poland marks 100 years of independence on Sunday, at the same time as the centenary of the armistice that ended World War I is commemorated around Europe.
The occasion should be one for celebration in Poland. But controversy and confusion over a planned far-right independence march in the capital Warsaw has overshadowed preparations.
A court in Warsaw on Thursday overturned a decision by the city's mayor to ban the march over security concerns after the organizers appealed.
Mayor Hanna Gronkiewicz-Waltz, of the opposition Civic Platform party, had declared Wednesday that the march should not go ahead because Warsaw had "suffered enough due to aggressive nationalism," Reuters news agency said.
Hours after she announced the ban, Poland's President and Prime Minister said the government would stage its own official march Sunday along the same route as the planned far-right march.
It's now unclear what will happen on the day.
The situation has been complicated by mass protest action by Poland's police, which has cast doubt over their capacity to ensure security during the march.
Gronkiewicz-Waltz said Thursday she would appeal the court ruling that reinstated the unofficial march. "We have an argument in the form of yesterday's order of the Prime Minister that directs the military police to help the police," she said. "It means that our assessments were correct that police would not be able to do it."
She argued that in banning the march, she was primarily guided by security considerations. "We do not know to what extent the policemen will return to work," she said.
Prime Minister Mateusz Morawiecki, of the ruling right-wing Law and Justice (PiS) party, on Wednesday called on Twitter for marchers to unite under Poland's white and red flag to celebrate the centenary.