The case had made its way to the Supreme Court with relatively little public attention until it became enmeshed in the ongoing debate over the ethical conduct of the justices amid revelations about issues including undisclosed luxury travel funded by wealthy benefactors.