In the end you have to replace those panels and nobody in your country now produces them or has the incentive to start producing them unless they not only drop the subsidies but sell well over market value.
You have 25 - 50 years. Put your STE people to work. CSIRO is probably a decent org, give them a Manhattan project?
The alternative for most countries except a handful is that they continue to import oil from the two dozen-ish odd countries who export it.
The policy relevant question then boils down to, in two decades how many countries will be producing enough solar panels to export it? How many will be friendly to my country?
what if you develop manufacturing capabilities during the 30 years lifespan of the panels?
In 25 years, those panels will still be producing 80% of their starting value. Imagine what you can do with 25 years of energy independence.