A French judge will hear the case of a newborn boy who was given the same name as an Islamic radical who killed seven people in 2012.

The child's name, Mohamed Merah, was brought to the attention of Nice authorities at the beginning of the month. It's the same name as an Islamist extremist who killed seven people in attacks on a Jewish school and French paratroopers in the southwestern Toulouse region.

Nice mayor Philippe Pradel and regional president Christian Estrosi said in a statement Saturday that the family choice of the first name "may be contrary to the child's interest."

A family affairs judge will decide whether the family needs to change the first name of the child.

The Local, an English-language digital publisher in Paris, reported that authorities want to know if the parents intentionally gave the child the same name as the terrorist.

Merah, 23, was wanted in the deaths of three French paratroopers, three Jewish schoolchildren and a rabbi — all killed in what Merah reportedly told police was an attempt to "bring France to its knees."

The seven slayings, carried out in three motorcycle shooting attacks, are believed to be the first killings inspired by Islamic radical motives in France since the Sept. 11, 2001, attacks.

The Associated Press contributed to this report