So pretty on paper but it’ll be used as de-facto discrimination
Racism is already illegal, and some people are going to be racist without a good excuse anyway, and given the massive amount of IP theft coming from the CCP (and Chinese nationals), and the coercion campaigns that we've already seen happen (Operation Foxhunt and the Canadian "prisoner swap" being the two biggest) - there's a really strong argument for taking the measures described above.
Now, provided that you don't call "wolf" like the GP poster - you should look at what our leaders are doing, and call them out if they're doing something wrong. But maybe figure out what that looks like, first...