if you get the roof replaced, get in-roof solar that replaces the tiles with panels,
Maybe we're using different words/meanings....but if we both consider a tile a "tile"...then in the US, most house roofs are NOT done with tiles....in fact I'd only seen roof tiles on old houses when I moved to New Orleans....it isn't common to see roofs with tiles.
Asphalt shingles are the most common roofing material in the US.....when I think "tile" I'm thinking like terra cotta, or the like and that's not common. You used to see wood shingles too back in the day, but not so much anymore.
So, not sure if a solar 'tile' replacement type thing is really offered here in the US (it may be)....but if it is, I'm guessing it would be sky high in price for materials and then add on specialized labor would be $$$$.