This argument is like nuclear power was a waste for France in the 1980s because they weren't done removing all oil from their grid.
As per recent French nuclear construction they are on a path of replacing it with renewables because it is horrifically expensive and they are unable to finance new construction.