If a car of masked men tried to "arrest" me without confirming they were law enforcement by showing an actual badge, I would credibly assume I was being kidnapped to be raped, killed, or both. I don't see how you can charge someone with resisting arrest if they don't know it's law enforcement.