Parents need to expressly opt in to Communication Safety when setting up a child's device with Family Sharing, and it can be disabled if a family chooses not to use it.
(And by the way, I respect Apple's desire to protect children's privacy from their parents, but forcing the change at 13, for everyone, seems awfully prescriptive. It's fundamentally a parenting decision, and Apple should not be making parenting decisions.)
But if this can in fact be controlled by the parent regardless of the child's age, that does resolve the problem!