since he had openly avowed himself a servant of the imperial court , he had exchanged his clothing for the formal robes of a scholar ; he had shaved his head and put his hair into a severe topknot , with a blue button upon his hat , and now openly carried the pouch with the great red-sealed letter of his authority around his neck .