government hardly has the capacity to ban foreign weights
The danger is that lawmakers, confused about the difference between foreign weights and foreign APIs, accidentally ban both.
There will be no confusion whatsoever, and no accidents. They don't write those bills themselves.
Whatever a given bill does is precisely what its authors, who are almost never elected by any constituency on Earth, intend for it to do.