Question Regarding Magic Item Distribution
The rules for distribution state:
>1. If all the players at the table agree on one character taking possession of a permanent magic item, that character gets the item. 2. In the event that one or more characters indicate an interest in possessing a permanent magic item, the character who possesses the fewest permanent magic items gets the item. 3. If the interested players have the same number of permanent magic items on the characters they played during that session, the item’s owner is determined randomly by the DM.
My question is, do the rules take priority over one another? As in, Party Decision > Lowest Item Count > DM Tiebreaker? Because back in January I was invited to the concluding session of STK for a friend's group to replace a missing player. The loot we received was from Table I: 63, Robe of the Archmagi. Now, I know that rolled loot is legal as long as you document it as recommended, but the problem was I that I had been the group's only arcane caster and had tied for the second highest item count at 5. The others in the party were a cleric, and barbarian; so they unanimously voted I receive it as party wizard (The player I replaced, ironically, was also a wizard. Luckily he was cool with me 'taking' the loot since he had 3 attuned items, rare or better). Given that it was a legendary item, I noted down the details of the treasure roll and filled out the logsheet as normal, except for the magic item column and how I received it, where I wrote a (?) next to the information, given I wasn't sure at the time how it would have worked out with having so many items already. I've played about 4 sessions since then and the DM's I asked about my situation couldn't give me a concrete answer officially so I've played without the item's benefits for those sessions and I've kept my item count at 6(?). So could I get any official word in regards to how I should handle this scenario?
tl;dr: Few months ago I substituted for a player during the finale of a friend's game, got a legendary item despite having the second highest magic item count. Not sure if it is legal to use. Please advise.