If the desert object is punishment rather than suffering, punishment is not a means to achieving the good of suffering, so the instrumentalist conception does not apply.
The idea of retributive justice has played a dominant role in theorizing about punishment over the past few decades, but many features of it—especially the notions of desert and proportionality, the normative status of suffering, and the ultimate justification for retribution—remain contested and problematic.