Here are some excerpts from pages describing Mjölnir:
It now lets you single-handedly close as duplicate unless you have participated in editing the tag (either by adding the tag yourself, or approving an edit that did). - Thomas Orozco
... except for duplicate questions, which can be marked as duplicate with a single vote from a user who has earned a gold tag badge in one of that question's current tags, unless that user participated in editing the tags - Help center > Privileges
Your [tag] badge usually lets you single-handedly close [tag] questions as duplicates and reopen them. However, since you participated in editing this question's tags, this privilege doesn't apply this time. - The blue message box
The question initially had the python tag but the OP approved the edit that removed it. I added it back and single-handedly closed the question as duplicate. Apparently, I was allowed to do so because python was one of the question's original tags.
Is this the correct behaviour? If yes, those pages seem somewhat misleading, as none of them explain what happened here. Could they be improved?