Although case law does exist supporting the right to resist unlawful arrest, up to and including deadly force, one must consider the totality of the situation.
I would suggest that unless your circumstances are EXACTLY the same as those in case law, one would stand a very good chance of being convicted. Even with the same circumstances there would be a strong possibility of conviction, as the presentation in court can and will color the decision.
One of my law professors made this statement numerous times, and it is true to the nth degree. "THERE IS ONLY ONE THING POSITIVE IN LAW...AND THAT IS, NOTHING IS POSITIVE IN LAW"
Remember, there is the letter of the law and there is the spirit of the law. They are not always the same and the court may interpret either way. Is it right? Who are we, with limited knowledge, to say?
Try it if you will, just be prepared for the decision.