throwingAway France very recently announced some kind of legal framework to permit accessing a phone's cam and mic and geolocation by force and I am not optimistic that any mobile solution will stop something like this, regardless of OS- some tracking is just too powerful.
France government doesn't have the power to force their way through the phone's security. Anything implemented through LEGISLATION will thus require the phone vendor to implement controls to be made available to the French government, or to stop selling their phones in France. What this means is that FUTURE phones sold, and possibly future system updates, will enable this functionality, and this functionality will NOT be implemented in GrapheneOS, therefore GrapheneOS will protect you from this.