Two issues here. The one you point out about it’s an EO that makes law, and the other issue is that the Executive Branch allowing this to stand because this leftist judge encroached on presidential power by undoing an Executive Order.
Clearer. By undoing a presidential legal EO that rescinds another. Trump could legally remove any EO and it would all be legal.