Professor McGonagall's characterization is spot-on. Stern exterior, soft interior, sharp-eyed, no-nonsense, but deeply caring once you earn her respect. The line "if there were only one person in Hogwarts who could do it, I would believe that person is Xi En" is powerful because we've seen her as a reliable judge of character. When she believes in him, the reader does too.