Not a laywer, but not sure if this law applies to Supreme Court Justices... this may be to federal judges. Clearly Kagan has no business hearing this case, but not sure if this law applies.
I’m not a lawyer either but my reading indicates it applies to ANY federal judge.