A pedophile former magistrate will soon leave prison …