Not really. Obama created a new rule by EO.
Trump tried to *change* that rule, EO.
To change requires compliance with Administrative Procedure Act. There are mandatory steps to follow. Trump’s lawyers failed him again (e.g. Muslim ban, build the wall, all the litigation they blow or take a dive on - due to many of them are Deep State and sabateurs themselves).
Trump can start the APA compliance all over and do it right and the courts would not stop or overturn it.
This was a raw political decision by the court 5-4, except CJ Roberts who played it straight on the law, and he is catching too much hell over it.
Except Obama did not follow the APA in the first place, as Justice Thomas pointed out. But it's what it is I guess.
Let me rephrase what you wrote... "To change an illegal executive order by a prior administration requires the current administration to follow the rules that weren't followed to enact the original order."
This was a raw political decision by the court 5-4, except CJ Roberts who played it straight on the law, and he is catching too much hell over it.
He deserves hell over it.
Well, no. If you want to understand the law, read Thomas' dissent.