Ministry of the Imperial Household was organized under the Taiho Code , which was adopted in during the reign of Emperor Monmu .
The organization and functions of the Imperial Household were defined and regulated in the Taiho Code , which was promulgated in 701-702 AD during the reign of Emperor Monmu .