Definition.com
Bean king (n.) is a comic little sacralization: whoever finds the bean in the Twelfth Night cake is mocked, made a kind of scapegoat, shut out of the group he stands for — and truly the king.