NEW YORK (AFP) - Donald Trump's lawyers have claimed the President could shoot somebody on New York's Fifth Avenue and get away with it. The city's mayor disagrees.

"If anybody shoots someone, they get arrested. I don't care if it's the President of the United States or anybody else," Mr Bill de Blasio told a press conference on Thursday (Oct 24).

"If you shoot someone, you should get arrested and we would arrest him," added the anti-Trump mayor, who until recently was a candidate to be the 2020 Democratic presidential nominee.

Mr de Blasio was responding to a question about a comment that one of Mr Trump's attorneys made before a Manhattan appeals court hearing on Wednesday.

The three judges are to rule on whether Mr Trump is obliged to obey a prosecutor's injunction demanding that he disclose his tax returns.

Mr Trump's lawyers have claimed he doesn't need to abide by the ruling because as President of the United States, he cannot be prosecuted for an offence.

The judges referenced Mr Trump's infamous boast of 2016 that he could shoot somebody in the middle of Fifth Avenue and not lose any voters.

One of them asked Mr Trump's team whether their argument that the President is above the law meant he could not be investigated by the authorities in that hypothetical scenario.

"That is correct," responded attorney William Consovoy, adding, however, that immunity ends when the president leaves office.

Related Story Trump could shoot someone and escape prosecution, his lawyer argues

Related Story Impeaching a US President: How the process works

Related Story Judge orders Trump to hand over tax returns to New York prosecutors

Legal experts argue that any immunity granted to presidents, according to case law, applies only to actions carried as part of his official duties as leader of the US.

Despite being a New Yorker, Mr Trump is hugely unpopular in his home city. Protests outside his former home in Trump Tower on Fifth Avenue are common.

An online petition to rename the stretch of Fifth Avenue opposite Trump Tower "President Barack H. Obama Avenue" has received almost 450,000 signatures.

At Thursday's joint press conference, which was about police suicides, New York Police Department deputy commissioner Benjamin Tucker backed up mayor de Blasio.

"We would (apprehend Trump). I mean it's as simple as that," he said amid laughter.