Aurora municipal code 94-383 resisting arrest charge:
"It is no defense to a charge brought under this section that the peace officer was attempting to make an arrest which in fact was unlawful, if he or she was acting under color of official authority, and in attempting to make the arrest he or she was not resorting to unreasonable or excessive force giving rise to the right of self-defense. "

So, be careful