A federal appellate court ruled judicial immunity protects a state court judge who said he was reluctant to hand over a multimillion-dollar fortune to Walt Disney’s grandson because he could have Down syndrome.

The ruling comes as probate courts face national scrutiny amid Britney Spears’ legal battle to appoint her own attorney and end her 13-year conservatorship.