Once the proeprty was sold by a registered sale deed to the prospective buyer by the vendor, the buyer becomes an absolute owner and the vendor's rights in the property automatically relinquishes.
Hence the bank's insistence of legal heirship certificate for the list of legal heirs of the vendor at this stage while the property already stands in the name of the buyer by a registered sale deed, is not maintainable.
The Revenue department can issue legal heirship certificate to the legal heirs of the deceased if they are having provision to issue the same to the government employees.
Now neither the bank can be convinced nor the Tehsildar, because both will be affected by ego if you take legal action on either or both of them seeking clarification or demanding your requirements.
Alternately you can prepare a family tree or genealogical tree certificate duly notarised and submit it to the bank stating that the Tehsildar is refusing to issue the legal heirship certificate to the private people other than government employees.
You cannot approach court for obtaining legal heirship certificate.
You can get succession certificate through court whereas that would not be applicable for immovable properties.
In this situation you can file a declaration suit before court to declare the legal heirs of the deceased by a decree which would solve the problem.
The time taken for disposal of the declaration suit by court of law cannot be predicted especially in the given Covid-19 situation.