Less rusty one for sure mate, sunroofs are over rated anyways sure they look cool, but eventually leak and rust around the roof and thats bad bads,
I say get under the defected one, replace everything that you think a mechanic would pick on, I.e everything visually facked, then take it in and see how it goes :D
Good luck with whatever you choose