His Last Bow (1923)
A German spy named Von Bork has been in England since 1910. Through several agents, he has gathered a significant amount of information relating to the British armed forces and foreign policy. He is unaware that a large amount of that information is false because one of his agents is really Sherlock Holmes, who is working for the British government.