However the court decides, history shows that Mr. Trump is wrong.