I don’t understand what new codes they would need to follow, these buildings were already made to be occupied by people, with all applicable codes covered.
Things that may be adequate in a large open floor office may not be when turned into individual separated dwellings.