the building had evidently been the palace of some nobleman , and , although the upper stories had long since collapsed , the ground-floor rooms , their ceilings supported by great arches , were still intact .