The Victorian warehouse, which has survived floods, a fire and changes to its use, is set to become a luxury apartment.