A vast majority of judges—nearly 97%—believe the U.S. Supreme Court should have a code of ethics for its justices.