You could make it a condition of the sale that the tenants leave prior to closing of escrow. In that case, the bank may have to pay cash for keys. Otherwise, once escrow closes, you have no bargaining power, and you will be the one who has to pay cash for keys.