The Supreme Court is a literal oligarchy - it's 9 people who are accountable to no-one. The Senate is a more democratic body, since they can be held to account by voters.
Also, if the equal protection clause was misinterpreted by the judicial branch, the legislative bodies of the federal and state governments have the power to revise and make it clear that the law was never to be interpreted that way.