The previous night the King had obtained the address of the honest thief as they were parting company with their separate bags.
So he sent for him and when he stood in court before the King he confessed that all but one of the diamonds had been stolen by him and his unknown associate.
The missing diamond was discovered in the pocket of the Minister and the King dismissed him for the lie.
The honest thief was appointed Minister instead.
He gave up his other evil habits too and pleased his Guru by his fame as a virtuous administrator.