If you need the solar-roof to also support snow load it's way way way too expensive to build.
For places with snow load you either put them on an already strong roof, or on the ground.
If France doesn't get much snow, then sure, sounds like a good place for this.
A much better plan would be mandating all large building roofs to be covered by panels unless unsuitable. You could literally double the amount of panels for the same $$.
All the warehouses, shopping malls, government buildings and factories is a very large amount of space.
It's clearly not optimal, not nearly.
Folks I know it's sad that every solar project that occurs to the layman, is not always a good idea. But don't blame the messenger.
This is a load of govt interference, down to virtue signalling and little else.