Since there were multiple agents (the reports and Patel's post all say "agents" plural) they could have left one at the courtroom, or outside, rather than all going away. Then there'd have been no chase and no issue.
The question is if the judge should have held the man or not for the agents who chose to leave no one behind to take him into custody after the proceeding finished.
https://www.lawfaremedia.org/article/sanctuary--supremacy--h...
If you're gonna be angry at someone be angry at the people among us were in favor of the creation of this data set because they foolishly thought it would be used to combat mundane property crime or because perhaps they thought that subjecting motorists to an increased dragnet would be a good thing for alternative transportation, or some other cause, think that they have done no wrong despite warnings of the potential for something like this being raised way back when the cameras and the ALPRs were being put up.
These things will keep happening until it is no longer socially acceptable to advocate for the creation of data collection programs that are a necessary precondition.