Why does this need to be put into law? Are cops just randomly breaking into people's houses or something? I find it ridiculous that we wasted money trying to codify every possible scenario no matter how rare its occurrence may be. Sure, people should have the right to defend themselves against unlawful entries even by police, however how often does that happen that a law needs to be made in order to make sure legal protections are given to citizens in such cases? It would seem that common sense from a judge would be enough to assess whether a citizen acted with a demeanour that wasn't malum in se.