17th century?
A number of reviews and film reference books state that this film is set in the 17th century. However, in an early scene the judge played by Patrick Wymark proposes a toast to 'King James III'. This was the title assumed by the Old Pretender, James Stuart, the Jacobite claimant to the British crown, after the death in exile of his father, the deposed King James II, in 1701. So, by my reckoning, this film is set in the early 1700s.
"Do unto others as you would have them do unto you." (Matthew 7:12)