You either ignore it with a new actor, or if you actually care about continuity for some reason, you have M say "Okay, you're the new 007. And to confuse our enemies you're adopting the name of the last guy, too. You'll be Bond. James Bond." Not hard.
add a skeleton here at some point
about 9 hours ago