so it is , for the castle , which stands at the west extremity , as the palace does the east , makes on three sides a frightful and impassable precipice , that only excepted which joins it to the city . ''