It is not the role of judges to make law. When these ruling come out without any foundation in either the Constitution or statutory law, the executives at both the federal and state level should just say, “No, we will not follow your illegal order.” Do not appeal, just ignore. Judges are not philosopher kings.
Judges are not the legislative branch.
No makey no laws.