There'd be a lease for the rented land, leases can be sold on.
The part of the building that was illegally added on has been destroyed by the fire, there's nothing to stop the rest from being sold, it's just a construction now, not an illegal business.