Replace with "should know the law" or "have a duty to know the law" or "know the law better than civilians."
https://www.amazon.de/Three-Felonies-Day-Target-Innocent/dp/...
We should maintain QI but this second test needs an update.
[1] https://en.wikipedia.org/wiki/Warren_v._District_of_Columbia
Either way, your duty is to cooperate with law enforcement. If they are wrong, the only proper place to determine that is the courts. If they are right, you'll still have avoided a "resisting" charge