Even if it is not true that law school is the consolation prize for those whose freshman biology grades make medical school impossible, judges, law professors, and lawyers are not (as a general rule) scientists. But they increasingly shape our understanding of scientific ideas by determining how law interprets and applies scientific information and by ensuring that bad science does not create bad law. As law becomes more science-dependent and expert witnesses play a greater role in a wide range of criminal and civil cases, there has been a concomitant increase in the need to ensure that the expert testimony admitted [at trial] is not just flimsy or interested speculation, but reliable enough to be more helpful than misleading, and one factor that courts have sometimes taken as indicating that proffered scientific testimony may not be reliable is that it is based on "litigation-driven" science.
Joëlle Anne Moreno & Brian Holmgren, The Supreme Court Screws Up the Science: There Is No Abusive Head Trauma/Shaken Baby Syndrome “Scientific” Controversy, 2013 ULR 1357 (2013). https://doi.org/10.26054/0d-hcnx-cwzr