When the President of Mexico says he is controlling the numbers attacking the border and can increase or decrease them if he is not kowtowed to by the US president, that sounds like a government directed invasion. I bet that statement by the Mexican government was not mentioned by the judge.
If there is a MAGA victory in November, this judge should be impeached. Maybe the Mexican threats were not put in evidence in the case, but the judge can raise that as a defense.
He should be impeached now. In fact, I believe EVERY judge whose decision is eventually and finally overturned by a superior court should be impeached for that reason alone. If they are getting “the law” wrong, they shouldn’t be in judicial service.