From A Day by Day Chronology of Mr. Sherlock Holmes according to Zeisler and Christ by William S Dorn:
On May 21, 1902, Shoscombe Prince won the Derby at Epsom. [SHOS]
It is generally known now that this singular episode ended upon a happier note than Sir Robert’s actions deserved. Shoscombe Prince did win the Derby, the sporting owner did net eighty thousand pounds in bets, and the creditors did hold their hand until the race was over, when they were paid in full, and enough was left to re-establish Sir Robert in a fair position in life. Both police and coroner took a lenient view of the transaction, and beyond a mild censure for the delay in registering the lady’s decease, the lucky owner got away scatheless from this strange incident in a career which has now outlived its shadows and ended in an honoured old age.
[Some of the prize money must’ve gone to grease some wheels, so Sir Robert got away with it. What a Cad and Bounder! –Chips]