He seems to be a good coder with poor judgment. But I think it would be wiser to manage him better than to fire him so long as he recognizes what he did was wrong. I'm a bit of a softie for the clueless, brilliant coders, though.
Imagine any leader that is not sundar trying to get this person fired. At some point, that leader would need to justify to either their leader, or a similarly leveled peer why they budgeted x SWE-years(where x is probably > 25) for a project that took this person far less than 1 SWE-year.
There are truths to both sides of the argument.
It’s hard to grok that someone would go to extensive length to get him fired without seriously violating company policy