at temple bar the gates of the city are thrown open and the lord mayor , bare headed and on horseback , falls into line immediately behind the prince of wales to pay homage to a man so revered by the city fathers .