SCOTUS got it all wrong.