My father is a lawyer and says this is one of several correct salutations...You may also check it out in back of the LARGE dictionary....”Your honor” is always appropriate for a judge in person or on paper.
Humm I have always heard that Supremes even at the State level were called Justice. But hey if a lawyer says so I will go with it. I have seen Kalifornia Supremes addressed as Your Honor and Rose Bird would get a funny look on her face but she was weird anyway!!