They could, but it would not apply to presidential actions taken before the law was passed; “No ex-post facto law shall obtain.” Of course, in this day and age they would just pretend it did!
Mark