Don't get your panties in a bunch just yet, everything will be just fine.
https://en.wikipedia.org/wiki/Executive_order
Like both legislative statutes and regulations promulgated by government agencies, executive orders are subject to judicial review and may be overturned if the orders lack support by statute or the Constitution.
Why did they not do this in the beginning then? Like before becoming a global empire with soldiers all over the earth.