The ban is being closely watched by other countries considering similar age-based measures over concern for young people’s safety.