They didnt give Jokic Melos number specifically intending Jokic to erase Melos accomplishments.
It was still bullshit to give away Melos number to anyone. There was no ring, and there was turmoil, but Melo made them a perennial playoff team and made the Nuggets matter in the publics consciousness for a decade.
He deserved to get his number retired.
Imo, Nuggets felt they would give his number to some 2nd round pick who wouldnt be shit to piss him off before bringing him back and retiring his number when he retired.
Jokic then turned out to be an alltimer and now they need to get creative to figure out how to honor Melo.