Some sort of prisoners dilemma: separate each of the 4 and offer leniency to the first one that admits guilty and turns the other two accomplices over. Hang the 2 guilty, release the innocent with compensation for the misunderstanding, and let the rat live out their days working for the betterment of the kingdom.