The way I read it is that US citizens have a right to not be murdered or assaulted by people who enter the country illegally.
So it seems like a Judge would have an obligation to prevent someone accused of being in the country illegally and accused of a violent crime to not leave the courthouse and instead turn that person over to the federal authorities who are outside the court waiting for the proceedings to finish.