Indeed, but how will they enforce such a ruling?
Yes. As long as the Legislative and Executive Branch work together, the Judicial Branch has no real power to limit them. It can basically write strongly worded letters, but nothing more. If the Democrats retain control of the Legislature and the White House (they intend to) then they can do whatever they want.