Roddenberry’s box? Sounds like an episode.
Like Schrödinger’s Box except the cat has to follow the prime directive and ear or not eat the poison based on its own cultural pathway.