A red herring is often used in legal studies and exam problems to mislead and distract students from reaching a correct conclusion about a legal issue, allegedly as a device that tests students' comprehension of underlying law and their ability to properly discern material factual circumstances