Russia's embassy in Brazil has denied a report by Rio police that their vice consul in the Olympic host city got in a fight with a mugger who was killed in the struggle.

Rio de Janeiro's homicide branch said the vice consul "reacted to an attempted assault."

"The vice consul got into a physical struggle with the assailant and during the fight the aggressor's weapon fired shots. The assailant died of his wounds on the spot."

The Russian embassy in the capital Brasilia issued a statement saying that "no representative of the Russian consulate general in Rio de Janeiro was involved in an attempted assault ending with the death of the suspect."

The statement said all diplomatic employees were Russian citizens "with Russian names, which is not the case" in the reported assault.

According to Rio's police, the fight took place in the western zone of Rio where the Olympic Park and athletes' village are located. It was the latest high profile incident reported in a city where 85,000 police and soldiers have been deployed to keep the peace during the Games.

Brazilian news site Extra reported that the man identified as the vice consul was a native of Rio and an expert in jiu-jitsu, a popular martial art in Brazil that specializes in self-defense.

He was in his car with his wife and daughter in a car when they were ambushed by men on two motorbikes while caught in a traffic jam, the report said. The second robber fled, according to the report.