>>>we are leaving it to a homeowner (presumably, maybe a drunk guy at a party) to decide for himself whether or not a cop has entered the home lawfully or unlawfully.
No matter what the judgement of the citizen is, does the law allow him to shoot a cop solely because of unlawful entry?
Read the law.