Grid connections, turbines and BoP equipment reused from a coal plant is not a minor cost saving.
Solar can win on price with entirely new builds against already depreciated Coal plants. If you can't beat that price, then you are at best a complement to solar, and sticking solar, battery or synchronous condensors in the old coal plants might make more sense instead.
See: Cost–benefit analysis of coal plant repurposing in developing countries