Used to be an implicit agreement not to invoke national security exceptions for trade regulations. US broke that agreement under Trump. China uses implicit subsidies so its hard to prove a case against it in the WTO
link