Just because a country has previously invested in fossil fuels, it doesn't follow that they can't get the benefit of solar with future investment. However, there's a lot of powerful money/people/corporations that depend on fossil fuels for making billions - that's the real problem as that skews the market and politics of energy production/distribution.