He's an idiot. Then aain, protecting against and fixing the mistakes of idiots with too much power is a large part of what programmers *do*. If it wasn't for cleaning up after overhyped consultants, self-styled experts, and management blunders, dealing with underspecified and mis-specified systems, and other day to day insanity, coding would be child's play.
Anyone can write a system and walk away. The trick is to bulletproof it so that no one else who walks up to it can break it without havin to work at it.
Then again, as the saying goes, "Never underestimate the damage that can be done by a truely determined idiot". That seems to have been the situation in your case. My condolences. :-(