In a 6-3 vote, the majority ruled to affirm the nation’s 158-year-old legal standard.