Given scene/plot descriptions from movies or TV shows, and given a specific question about the scene, summarize the question into a title

In the movie adaptation of The Count of Monte Cristo (2002), Edmond Dantès lands at Elba, kills some British soldiers and knowingly accepts a letter from Napoleon Bonaparte. Whereas in the book he doesn't accept the letter directly from Napoleon and has no reason to believe it has anything to do with Napoleon.  To me having this scene at Elba was unnecessary (in more ways than one), it makes it hard to believe that he was just naive and does the meaning of his betrayal by Mondego and Danglars.   To put it in a more modern context, had a terrorist leader passed him a letter which was said to contain a letter to family but actually contained plans for an attack, then Mondego and Danglars would be considered heroes and Edmond's quest for revenge would not be justified.  So, can Edmond Dantès really be considered innocent of treason?
Was Edmond Dantès Actually a Traitor?