a castle is for an important building in historical times