An aristocratic murder mystery worthy of Sherlock Holmes has been resolved after 40 years