It looks to me like the commit you reverted was in bad faith. It appears to have been disguised as a joke in a perverse attempt to ram it through without consensus. You did the right thing.