A firefighter walks past a smouldering vehicle destroyed by protesters in Nanterre, west of Paris, on June 27, 2023, after French police killed a teenager who refused to stop for a traffic check in the city. (PHOTO / AFP)

PARIS – Protesters armed with fireworks clashed with riot police in a Paris suburb overnight after a 17-year-old man was shot dead by police during a traffic stop and prosecutors opened a homicide investigation.

Thirty-one people were arrested in the clashes in which 40 cars were burned, mostly in Nanterre, the Paris suburb where the victim was from, Interior Minister Gerald Darmanin said on Wednesday.

Video footage showed at least one building on fire and burnt-out barricades on the road. Fireworks were aimed at police, who fired tear gas at the crowd.

Darmanin called for calm on BFMTV on Wednesday morning and said "justice must be done and the truth must be told." Some 2,000 police have been mobilized in the region, he said

Darmanin called for calm on BFMTV on Wednesday morning and said "justice must be done and the truth must be told." Some 2,000 police have been mobilized in the region, he said.

ALSO READ: French security law sparks big protests

He added that the police officer would be suspended from his function if the charges against him are upheld.

Prosecutors on Tuesday said the shooting took place after the youth failed to comply with an order to stop his car. The officer fired at the boy, who subsequently died from his wounds, it said.

A video shared on social media, verified by Reuters, shows two police officers beside the car, a Mercedes AMG, with one shooting as the driver pulled away.

Local resident and anti-racism campaigner, Mornia Labssi, who said she had spoken to the victim's family, said his name was Nael and that he was of Algerian origin. Prosecutors did not identify the victim.

ALSO READ: Yellow vest anti-govt protests turn violent in Paris

Paris police chief Laurent Nunez told BFMTV that "this act raises questions for me" and that the justice system would decide whether or not it was appropriate.

The two officers who carried out the traffic stop, aged between 38 and 40, were experienced, Darmanin said.

French actor Omar Sy expressed his support for the family of the victim on Twitter and called for "justice to honor the memory of this child."

Paris Saint-Germain footballer Kylian Mpabbe tweeted heartbreak emojies and wrote "I'm hurting for my France. An unacceptable situation."

READ MORE: French govt flummoxed as police suicide rate climbs

There have been two fatal shootings during traffic stops in France so far in 2023.

In 2022, a record 13 people were killed in such circumstances, compared to three in 2021 and two in 2020, according to a Reuters tally, which shows the majority of victims were Black or of Arab origin.