The judge is correct. While the president has prosecutorial discretion on a case by case basis, he cannot simply decide to ignore the law altogether because it does not fit into his political agenda.
Yep. I cannot remember who said it recently but they said prosecutorial discretion can be applied case by case but when it is applied to whole groups of people, the executive becomes a legislator.