In 1690, following his defeat at the Battle of the Boyne, James II of England is supposed to have climbed to the top of the tower to take a last look at his lost kingdom before embarking for exile in France.