Let’s see how that plays out.
It's New York. Likely every federal judge for that district is also a loon. He will likely have to go through all the lower federal courts until he gets to the supreme court, and then they will put a stop to this nonsense.
The Prosecutor and the Judge needs to go to prison.
"Denial of Civil Rights under color of authority."
Lock them up.