Trump has (yet another) bad legal day