Here are a few steps you could consider:
Consult a lawyer: Given the complexity of your situation, it's advisable to consult a lawyer who specializes in property and tenancy law. They can provide you with specific advice based on the laws and regulations of your jurisdiction.
Communicate with the tenant: Try to reach out to the tenant and explain the situation to them. Express the need to remove the entry from the Encumbrance Certificate (EC) and discuss the possibility of their cooperation. You may need to negotiate with them and potentially offer an incentive to encourage their cooperation.
Serve a legal notice: If the tenant is uncooperative, you may need to serve them a legal notice requesting their presence for the cancellation of the agreement. Your lawyer can help you draft and serve this notice according to the relevant legal procedures.
File a petition: If the tenant still refuses to cooperate, you may need to file a petition in a civil court to seek the cancellation of the agreement. Your lawyer can guide you through the necessary steps and represent you in court.
Seek a court order: If the court finds in your favor, it can issue an order directing the registrar to remove the entry from the EC. This court order will then need to be submitted to the registrar's office for compliance.
Disclose the situation to the potential buyer: It's important to be transparent with the potential buyer about the situation and inform them that you are actively working to resolve the issue. Depending on the buyer's preferences and the legal requirements in your jurisdiction, you may need to provide suitable assurances or documentation to address their concerns.