Spain's investment in renewables is actually paying off - some of the lowest electricity prices in Europe these days, though they always seem to be fighting with Morocco and Algeria so that may not last. They still overpaid for their renewables though and would have been much better off had they invested when the economics were better, though there's an argument that Spanish companies have gained international business for renewable installation through their government funded experience.
Here's a cool website to see Spain's electrical generation in real-time - usually around 50%+ renewable generation when I check:
https://demanda.ree.es/visiona/peninsula/nacional/total