The scene at the end of M (1931) in which Peter Lorre, as a child murderer, is judged by a jury of other criminals was added to this film because Lorre is Jewish and Adolf Hitler felt that this "proved" the criminal mind of the Jew.
Some historians have suggested that the scene from M (1931) in this film was used to demonstrate that Peter Lorre's "child murderer" was being portrayed as a sympathetic character and was an example that the Jews were twisting the reality of good and evil and therefore perverting German society.