Which is worse precedent?

  1. A President declaring a bogus national emergency to gesture at fulfilling a campaign promise?
  2. Federal Courts ruling that a declaration of national emergency is bogus?

Note that I’ve kept personalities out of it because the question is precedent.