Public opinion?
The Supreme Court’s function is to uphold the constitutionality of law and actions between the 3 legislative branches, period.
Public opinion, political agenda should have zero bearing in it’s decisions. The influence of public opinion should be seen via elections and not illegally legislated by Judiciary.
The Court's Jurisdiction
Article III, Section II of the Constitution establishes the jurisdiction (legal ability to hear a case) of the Supreme Court. The Court has original jurisdiction (a case is tried before the Court) over certain cases, e.g., suits between two or more states and/or cases involving ambassadors and other public ministers. The Court has appellate jurisdiction (the Court can hear the case on appeal) on almost any other case that involves a point of constitutional and/or federal law. Some examples include cases to which the United States is a party, cases involving Treaties, and cases involving ships on the high seas and navigable waterways (admiralty cases).
https://www.uscourts.gov/about-fede...educational-outreach/activity-resources/about