I think EBD wrote realistic characters and interactions at this stage - the moral she drew from them could sometimes be utterly bizarre, though.
Well, that's the thing, isn't it? I don't think for a moment EBD was conscious that she was writing a scene in which the power of a charismatic, wildly popular sister-of-the-Founder HG over a gentle, ineffectual and unwilling Head is being demonstrated, but it's certainly open to that interpretation. Especially when it's followed shortly by the whole Matron Besly fiasco, which largely comes down to her not having been properly briefed on school rules (prefects don't get order marks, are allowed to read in bed, and staff don't enter their bedrooms) and not realising she's supposed to recognise that Joey is a 'dear girl' and be given special treatment.
The new Matron is not a nice woman, but it's hard not to feel for her when she's just been told to leave Joey alone and not interfere in her morning reading or enter her room, and a second later is being scolded by Matey for not realising that the always-pale Joey has toothache she's concealing because she's afraid of the dentist. Matron could be forgiven for retorting that if someone is senior and responsible enough to be HG, she could be expected to report her own minor health conditions.
(Which leads me to how poor, fragile Margot Venables ever hacked it as a CS Matron. Unless it had been drummed into even the most mischievous Middles that she's one of the Russell-Bettany clan, and anyone messing with her will be quietly terminated.
)