Ummm you understand canon right? One of your examples is correct, the other is just plain ol' historical inaccuracy. Like John Wayne playing Genghis Khan or Jodie Turner-Smith playing Anne Boleyn.
But of course in this case you don't get it. James Bond is 007. 007 is James Bond. Look, even if...