Based on what legislation?! It is not the court’s role to write law. These are illegal aliens, an unconstitutional program started by Obama, and all that should be left to discuss—since congress did not pass any law giving these illegal aliens amnesty—is how they are deported.
The judge wishes it. That's all the legislation he needs.