Clearly he should've just added a disclaimer like ever single one of Trump's EOs [1].
"Sec. 4. General Provisions. (a) Nothing in this order shall be construed to impair or otherwise affect:
(i) the authority granted by law to an executive department or agency, or the head thereof; or" [2]
Or all the generic legal documents that say "void where prohibited by law" and etc. In general, writing a document that complies with the law seems to be not a requirement.
[1]: https://en.m.wikipedia.org/wiki/List_of_executive_orders_in_...
[2]: https://web.archive.org/web/20250121003847/https://www.white...