Never understood this attitude. I'd have told him that what he was doing was very inappropriate (without buy-in from the team), and if he doesn't back off I'll quit. He can ask around for other opinions so it's not just coming from me but it's a hard line.
Of course this mostly works cause as a developer you don't need to be afraid of finding another job. But that's good. Workers having leverage over bosses is good.