I'm amazed how even these US judges cannot see what is wrong with this. Or are they themselves under pressure/threat from the executive and NSA/CIA?
Congress, and to a lesser extent POTUS, are the parties that have voted in these laws and are controlling the agencies doing this, and have the power to change them. Judges should NOT attempt to do so. That is the very definition of what a judge does.
Both parties have mastered using presidential appointments to the supreme court to "change" the law. This is very bad, as they're not supposed to be in control of that. The judiciary's "check and balances" check is mostly to prevent congress from going against the constitution (ridiculous example: voting slavery back in with 51% of votes). That is their function.