That’s two errors in one statement.
2. Spain announced to aim for 100% renewable *electricity*, not 100% renewable energy. Quite a difference.
To stay on the safe side (quick temper!), I'll just say that I'm probably not smart enough to understand why.