This is something that has been occasionally happening in Europe (at least in Germany, don't know about France) for well over 10 years now. Probably more like 15.
What's sorely needed at this point is much more storage to make this energy available when it is needed instead of when it isn't. Before that happens, you cannot really decommission any gas or coal power plants, because you still need them during times of much less renewable production.
2