The scene with Sherlock and the villain playing a game of intellectual chess with two containers, one containing a poison, closely resembles the scene The Princess Bride where the Dread Pirate Roberts challenges Vizzini to a duel using two goblets, one of which is poisoned.