In the first sequence in which various newspaper headlines are shown, one story begins, "In a twist worthy of a Conan Doyle novella, Mr. Sherlock Holmes was yesterday revealed to be an expert witness at the trial of 'Jim' Moriarty."
Moriarty keeps referencing his "Final Problem" - namely, how he and Sherlock will settle their score. This is a reference to the Sherlock Holmes story "The Final Problem," which was the basis for this episode.
Katherine Parkinson, who played journalist Kitty Riley in this episode did a series of Malteasers adverts with Amanda Abbington, Martin Freeman's wife.