I have seen policies like this in other places and in other countries as well. It seems to be acceptable in general. It is a courtesy to Children and parents in my opinion.
The restaurant can just set the same price regardless of the age. Will the parents complain their children being discriminated again?