There are numerous examples of this happening, a couple mentioned in responses to you, but in Indiana I know that a law was passed a few hears ago (with quite a bit of protest from police unions) saying basically that you can treat a cop as an armed intruder if he forcibly enters your house without a warrant.