I was lead on hiring a new CEO a year or so ago.
I was pretty sure we had the guy internally, but I demanded we spent the time, money, and effort for a national search. Why? As I told the (internal candidate) new CEO, "If we just hired you there'd be skeptics. I, and you, can say you didn't "get" the job but that you won it."