When Hermione told McGonagall she had never seen her teacher so shocked, she wasn’t aware of that limitation on Draco and didn’t seem to agree either regardless of her frosty reception to his return. After Hermione had expressed in great detail that she hadn’t used her accomplishments from the past year to influence anything or for personal gain, she furiously told the headmistress she would try and pull every string she could if need be.