Assessing the seismic vulnerability of a historical building