Are you asking me if I think the Supreme Court decides based on party allegiance?
No, I think they uphold the law, too high of a court to not be judging fairly. They need a majority to decide anything, and the majority needs to write depositions as to why they want to judge in xyz direction. The minority that disagreed initially usually agrees after the depositions, and make it a unanimous decision.
In this instance, they are not wrong at all once you read the constitution.
There's a lot of holes in the justice system, but the 9 person Supreme Court is not the issue.