I agree, except that the 2009 federal act Protecting Tenants at Foreclosure allows the tenant to live out their lease term from the lease that was in force at the time of the foreclosure sale. as long as it was a legitimate lease and not one cooked up by the owner and tenant for fraudulent purposes, the owner and tenant aren't related, the rent is fair market value, etc.