SCOTUS justices have guaranteed lifetime appointments. They are accountable to no one.
They can do say and do basically anything they want without repercussion.