If you wish to refer to abstract person in an impersonal way, you can use "it". This is nothing new. Sometimes, this is the first choice, for example:
"In the dim light, I noticed the figure of a man moving in the distance. It was walking slowly."
In your example, "it" seems to me like a natural choice because the "child" is an abstraction, not an individual. It would be insulting, however, to refer to a specific child as "it". For example, you should never say to the parents, or anyone else
"Billy misbehaved, so I told it to write 'I will be good' a hundred times on the blackboard."