This is terrible advice. You’ll wind up in legal trouble, injured, or dead. You always comply with law enforcement, then let the courts decide if it was unjust.
That sounds like “sovereign citizen” bullshit. Avoid the hassle and legal trouble. Just comply and fight it out in court. You might get $$ out of it instead of getting shot.