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.