SCOTUS ruling sets precedent for Trump