Says who? You are supposed to follow the facts and the law, you don't make it up as you go. I've heard many decisions by judges who say "I personally don't like this decision, but it's the law and the parameters or the law" etc. I respect judges like this as they are putting duty over personal opinion.
The only reason ones biases can interfere with ANY investigation, is if there aren't consequences for doing so. If there are professional and legal consequences, this would be eliminated quickly.
Art imitates life, I firmly believe this for whatever period of time we are living. Growing up, movie themes were common in that the evil bad guy would laugh and mock the good cop who had him cornered. He'd say "you won't shoot me, you are the law and I deserve my day in court". So it would be, even if it frustrated the cop really wanted to kill the serial killer or whomever was being portrayed.
The best example of this was the movie Seven. If you've see it you understand my point near the end of the movie between Brad Pitt and Kevin Spacey.
Remember Silence of the Lambs? Jodie Foster played a straight, committed, by-the-books FBI aget not a "threat manufacturing, misrepresenting, "F 'em, we gotta get in the mud and break any law in order to increase our budgets" Canadian cop. Imagine the TPS or RCMP chasing Hannibal Lecter? If he has a good lawyer he might have been free due to all the police lies exposed in court!
Today many movies would show the cop breaing the rules, "for the greater good". The slope gets more slippery as police have unfettered power and personal belief they are judge, jury and executioner.
Justice is supposed to be blind and honest. It's why citizens by and large accept the unwritten contract between government and themselves.