This seems like a bizarre way of thinking, that crimes should only be punished if the criminal happens to be caught in the act, or if law enforcement follows a trail of breadcrumbs involving unreliable eyewitness accounts and scraps of evidence.
How many people have been wrongfully convicted because the police needed to get the crime off the books, or evidence was misleading, or eyewitnesses gave false testimony?
You speak as if it's a forgone conclusion that this is the way things should be, but what's the basis?