I'm not a lawyer. It seems to me, the safest move for you is to give the property to whom you initially made the agreement with. I can't believe it's your responsibility to resolve the legal issues that may have come about. That's up to the courts.
Grandpa's Sheriff Badge, Littleton 1920's