https://www.poliziadistato.it/articolo/ec-residence-permit-f...
This was adopted by Italy in 2007. So while I am not sure about it I suspect it's the same for all EU countries, since immigration papers are mostly governed by EU regulations and directives. What is your source for France having mandatory permanent residency prior to naturalization (unless it's permanent in the sense of renewable indefinitely)?
Edit: indeed, this is a bill for adopting rules laid out in the EU directive on immigration and asylum.