有職故実

Noun

 * 1) well-versed in usages or practices of the court or military households