If history has anything to say, courts find very creative ways to allow otherwise baseless laws to stand when national security is in question (which is really why Tik Took is even being singled out in the first place). The question comes down to whether the judges believe that TikTok represents a legitimate threat of propaganda to the US to warrant the action.