Following a state appellate panel ruling handed down Friday, Manhattan and Brooklyn now have very different precedents controlling the rights and responsibilities of tenants unlawfully residing in commercial lofts.

A unanimous Appellate Division, Second Department, panel found that a landlord that allowed tenants to reside in a commercial property may eject them for violating their lease and failing to pay rent, but that it may not recover unpaid back rent.