Besides, the state is the one taking the initiative to break down the door. Why should the onus be on you to guess correctly if those yelling Police! really are or not.
Happened one that I know of. A guy killed 2 cops after someone lied to the cops saying the guy was involved in drug deals. Took a long time but he was exonerated. What about the cops who raid the wrong home?