Just do the classic developing country thing and charge non-french people significantly more. 2x the price if you live outside paris, 5x the price if you live outside of France, and 20x the price if you live outside the EU.
For example see https://brusselssignal.eu/2024/12/ec-demands-end-to-portugal...
Some time ago Germans tried to tax foreign drivers on their roads, so they introduced toll, nominally for all, but also lowered the same amount another car-related tax that was paid only by Germans. EU bodies saw through the scheme just fine and now they're on hook for returning the toll money to anyone still keeping the invoice/receipt.
Of course this is against the interest of other countries, which is why they prevented that, but it wasn't unfair or discrimination.