Official Duties and Public Activities in the Imperial Palace