A bailiff was a person who was occupied as a legal overseer.
The post-atomic horror court scenario created by Q in 2364 had a Mandarin bailiff overseeing the prisoners during their interrogation by Judge Q. (TNG: "Encounter at Farpoint")
The term "Mandarin bailiff", describing Cary-Hiroyuki's character was listed in both the script and the end credits of the episode.