Officers opened fire in west London on Saturday morning during an incident involving a car that was colliding with vehicles, the Metropolitan Police has said.
The Ukrainian embassy said its ambassador’s vehicle was “deliberately rammed” as it sat parked outside the building in Holland Park.
When officers arrived on the scene, a car was “driven at them”, the Met said.
Officers used firearms and a Taser before arresting a man in his 40s.
Police said the uninjured man was “taken to a central London hospital as a precaution”.
They added that the situation was neither ongoing nor being treated as terror-related.
The Met said its officers arrived at the scene just before 10:00 GMT after “reports of antisocial behaviour involving a car”.
Describing the events of Saturday morning, the Ukrainian embassy said that after seeing the ambassador’s car being targeted, police “blocked up” the attacker’s vehicle.
“Nevertheless, despite the police actions, the attacker hit the ambassador’s car again,” the embassy said.
It added police were “forced to open fire on the perpetrator’s vehicle”.
The embassy said none of its staff had been injured and that police were now investigating “the suspect’s identity and motive for the attack”.