after the meiji restoration he was appointed japan's imperial guard officer