Technically no courts have ever ruled DACA to be unconstitutional (only DAPA has). I think that's part of the reasoning in this ruling, this administration (Jeff Sessions) can't just say that its unconstitutional if a court hasn't ruled so. They could decline to defend it, but that's different.