This is a great victory (for now)!
This is why we need to separate the judiciary from the government or any politics whatsoever.
I am not so confident that the supreme court would find the same ruling since the president have the power to nominate the justices. I find US practice of the Senate questioning the nominee's ideology awkward.
Justices need to have permanent tenure to prevent political influences to affect their decisions.