The fairy tale tells the story of a very wise Japanese judge, Ooka, who, when judging disputes between merchants, slaves, and even mayors, always listens to both sides first and then makes a fair decision. With his tricks and correctly asked questions, no perjurer or swindler escapes his notice.