A Brazilian carjacker has been killed with his own gun after attempting to rob a man on the road to the Olympic village in Rio de Janeiro, local police have said.

Early reports from the Associated Press quoted Rio police who said the man who killed the carjacker was a vice consul at the Russian consulate.

But the Russian embassy said none of its employees were involved in the incident.

In statement to the Guardian, the Russian consulate said: “The embassy of Russia in Brazil informs that no representative of the Russian Consul General in Rio de Janeiro was involved in the attempted assault that ended with the death of the suspect in Barra da Tijuca this Thursday.

“The officials of the diplomatic mission are Russian citizens with Russian names, which was not the case (in Thursday’s incident).”

The Russian embassy told the Independent: “The vehicle pictured [in local reports] does not have a diplomatic licence plate. Moreover, judging by the articles published, the person involved was a local citizen, and both the Vienna Convention 1961 and the Russian federal law explicitly forbid appointment of host country nationals on diplomatic service positions.”

A report on Brazilian website Folha.uol.com said the man in the car told police he was a lawyer and presented them with a false consular identification card that said he was the Russian vice consul in the state of Minas Gerais in southeast Brazil.

The Russian Tass news agency quoted Vladimir Tokmakov, Russian consul general in Rio, saying no member of staff had “anything to do with the incident.”

But Mr Tokmakov said that he could not “rule out” that whoever was involved in the reported incident could have introduced himself as a member of diplomatic staff.

Another report in Brazil’s Globo newspaper says two carjackers arrived on motorbikes and attacked the vehicle as the man inside was travelling with his wife and daughter.

One attacker smashed the driver’s window of the car with a gun, and demanded the man’s watch. But the man, who the paper claims was trained in jiu-jitsu, reportedly hauled his assailant into the vehicle where the suspect was killed with his own gun as his accomplice fled the scene.

Protesters and police clash ahead of Rio Olympic Games Show all 7 1 /7 Protesters and police clash ahead of Rio Olympic Games Protesters and police clash ahead of Rio Olympic Games Protesters clash with Brazilian police during a demonstration against the Olympic torch relay for Rio 2016 Olympic Games in Niteroi, on August 2, 2016 YASUYOSHI CHIBA/AFP/Getty Images Protesters and police clash ahead of Rio Olympic Games People face Brazilian police during a protest against the Olympic torch relay for Rio 2016 Olympic Games in Niteroi, on August 2, 2016. YASUYOSHI CHIBA/AFP/Getty Images Protesters and police clash ahead of Rio Olympic Games Protesters hold banners against Rio 2016 Olympic games to demand more education or health care during a demonstration against the Olympic torch relay in Niteroi, on August 2, 2016 YASUYOSHI CHIBA/AFP/Getty Images Protesters and police clash ahead of Rio Olympic Games Brazilian police officers hold a protester during a demonstration against Rio 2016 Olympic Games as the Olympic torch relay arrives in Niteroi, on August 2, 2016 YASUYOSHI CHIBA/AFP/Getty Images Protesters and police clash ahead of Rio Olympic Games An anti-government demonstrator, with a sticker which reads "boycott" on his mask, attends a protest on the Rio de Janeiro state economic crisis and against 2016 Rio Olympics, in Rio de Janeiro, Brazil, July 6, 2016. REUTERS/Ricardo Moraes Protesters and police clash ahead of Rio Olympic Games Protesters take part in a demonstration against interim President Michel Temer in the centre of Rio de Janeiro, Brazil, July 31, 2016. REUTERS/Mariana Bazo Protesters and police clash ahead of Rio Olympic Games Eduardo Paes, mayor of Rio de Janeiro, carries the Olympic torch into the city as security hold back protesters Reuters

Street muggings of this kind are not uncommon in Rio de Janeiro, especially in areas with heavy traffic where motorcycles can drive in between lanes, attack motorists and then escape.