There's the pluses of interview experience and getting your face in front of the team decision makers and building a strong impression, ready for when the opportunity next arises (which it has).
Agreed, it was at a minimal, good experience for him. I doubt it was anything he would have taken personally, knowing he was likely a long-shot since his former boss was going for the same job and would likely have a seniority privilege of sorts.