It is extremely rare for any member of the Supreme Court to clash with a US president.