Not really, because I'm judging the character (who is inside the story, and thus lacks that moral distinction) and not the person writing him. Writing a character who does evil things does not make you evil, but the character himself certainly is.
Obviously, yes, there is still a difference in scale and intent, but my point is that saying "they didn't think it was wrong" is not a defence when it quite obviously is.