The IEEPA is literally a law. (Also, PRC laws are vague/broad and often applied arbitrarily, just look at the new Hong Kong security law. Not saying this isn't true for US laws, but it's disingenuous to point at the laws when the effects and implementation of those policies matter more.)