By doing what you suggest, Trump would be saying that his EO is illegal and he is acting illegally. Then he would be asking the judge to confirm or deny legality. That’s not how it works and it is not a good idea. Trump should, and has, start from the point the the EO is legal and he is acting in accordance with the law, his executive powers.
You have a fervent belief in your words, I can tell.