IANAL, but I highly doubt it. I think the ordinary meaning of "knowingly" means you knew what you were about to do before you did it.
I can't believe there are very many courts who would convict under the circumstances of your example. OTOH, there might be a few, and if the law is not intended to be enforced exactly as written, that is certainly an excellent argument for changing it.
I can't believe there are very many courts who would convict under the circumstances of your example. OTOH, there might be a few, and if the law is not intended to be enforced exactly as written, that is certainly an excellent argument for changing it.