Federal judges can do whatever they want. There are no limits to the kinds of orders they can issue, unless overturned by a higher court which this won't be.
Judges can't do whatever they want. We have this thing called law.
Since when did Americans allow the law to stand in the way of justice?