the court system protects the human rights because they are separate from political views. They put all their focus on the constitution and don’t get easily influenced. Since they focus on the constitution they follow the law which supports humans rights.
One example is the Texas v. Johnson where the Supreme Court defends the right to burn the American flag because its a form of free speech, this shows that the court supports human rights.
the federalist no. 78 helps the court system review laws to make sure they are constitutional without worrying about political opinions but more focused on individual freedom.