Squatters say they have come to an agreement with the owners of the York and Albany near Regent’s Park in north London.