The moment the mother said her daughter would become hostile (scratching) she became a threat to the other passengers and crew. I do not believe there is a clear solution to this issue without knowing what was said to the Captain. Regarding the passenger's reaction, I think it would have been completely different had the child starting acting the way her mother "threatened".