By Anthony Boadle and Ricardo Brito
BRASILIA (Reuters) - Brazilian President Jair Bolsonaro joined a rally on Sunday on horseback as supporters urged the closing of the Supreme Court for investigating the right-wing leader, as one of its justices compared the risks to Brazil's democracy with Hitler's Germany.
Deepening a political crisis during one of the world's worst novel coronavirus outbreaks, Bolsonaro has slammed the top court for investigating his interference in police affairs and opening an inquiry into his supporters' alleged libel and intimidation campaigns on social media.
The former army captain and defender of Brazil's 1964-1985 military government has denounced the investigations, suggesting "absurd orders" should not be followed and warning that the court may "plunge Brazil into a political crisis."
Bolsonaro flew in a military helicopter over the rally in Brasilia where protesters held banners calling for shutting down Brazil's Congress and top court, known as the STF. One said: "Military Intervention - close Congress and the STF now."
Supreme Court Justice Celso de Mello, who is responsible for investigating a former justice minister's allegation that Bolsonaro tried to meddle with law enforcement for personal reasons, said the president's supporters were seeking a military dictatorship.
"We must resist the destruction of the democratic order to avoid what happened in the Weimar Republic when Hitler, after he was elected by popular vote ... did not hesitate annulling the constitution and imposing a totalitarian system in 1933," de Mello told other judges in a message seen by Reuters.
A person familiar with the matter confirmed the authenticity of the message, which was also reported in Brazilian newspapers. De Mello's office said the message was "exclusively personal."
Bolsonaro has said his aims are democratic and that his opponents are trampling the constitution in their efforts to oust him.
After his helicopter ride, the president walked to the rally and shook hands with supporters, wearing no face mask despite its use being mandatory in the capital to fight the coronavirus outbreak. He then mounted a police horse and trotted past the crowd.
On Saturday night, a group of masked backers of Bolsonaro marched to the court carrying torches to call for its closure.
During Sunday's demonstrations in Sao Paulo, opponents of Bolsonaro took to a main avenue to protest against "fascism" and clashed with riot police who intervened to stop them getting close to a rally by supporters of the president.
Police used tear gas to push back stone-hurling youths.
(Reporting by Anthony Boadle, Ricardo Brito and Ueslei Marcelino in Brasilia; Additional reporting by Leonardo Benassatto in Sao Paulo; Writing by Anthony Boadle; Editing by Brad Haynes, Peter Cooney and Daniel Walllis)