Announced their presence in unit #1, found nothing, moved to a side door which was actually unit#2, entered forcifully while not announcing their presence or identity perhaps because they thought it was the same unit, officer shot by tenant in unit#2.
Possibly. The jury heard all of the facts and rendered a verdict.