Ian Rankin's famous world-weary detective John ... A Heart full of Headstones ends with Rebus about to be sentenced in court, it was, Rankin believed, a suitable place to end the Rebus story.