If Hunter had received this complete deal, he would not have been subject to prosecution for any of the corruption. Then he could testify at any trial of Joe that he, Hunter, was the only guilty party, and because of the deal, he could not be charged and Joe could walk.
Any honest prosecutor would put Hunter under oath and require him to testify against the other guilty parties.
Sounds reasoned. I am not familiar with how all those things work.