Furthermore, it also reduces the drain on the (often very fragile, for thirld world countries) foreign reserves, especially relevant when the oil prices fluctuate wildly.
If your solar panels are old and you don't have money to replace them, you get slightly less electricity. If you are out of gasoline/diesel and you have no money to buy it, you have a big, big, problem.
Unless there is some hidden cybersecurity risk of them shutting off panels remotely?
And corruption is one of those annoying problems that dont go away easy