U.S law requires that patentable inventions be "useful" (35 U.S.C. 101). The courts have decided that an invention that would be illegal to practice or that would contravene public policy would not meet the statutory criterion of being useful under U.S. patent law.