The movie was adapted by Dale Van Every, Irwin Shaw and Sidney Buchman from the story by Sidney Harmon. It was directed by George Stevens. There was also a 1905 musical called The Talk of the Town that played at the Lyric Theatre in London and on Broadway in 1907, with Victor Moore.
It was nominated for a number of Academy Awards:
When Dilg is spotted by Lightcap, Shelley passes him off as her gardener. Lightcap and Dilg enjoy having spirited discussions about the law, Lightcap arguing from an academic viewpoint, while Dilg subscribes to a more practical approach. They become good friends as a result.
As a result of prodding by Shelley and Dilg's lawyer, Lightcap becomes suspicious and starts, in spite of his initial reluctance, to investigate further. He romances the girlfriend of the supposed murder victim and discovers that the former foreman is still alive and hiding is Boston. He is 'persuaded' to return to town and admit his guilt and that of the mill owner.
Lightcap also comvinces Dilg of the importance of following the law and Dilg gives himself up. In due course, he is set free.
Soon afterward, Lightcap is appointed to the Supreme Court. He asks Shelley to marry him. Dilg tells her that he's a fine man, but she decides in favor of Dilg.
Though there are elements of screwball comedy, this is essentially a social (and political) drama with some comedic scenes. Stevens are adept at this kind of film making.