Denmark's prime minister has admitted that if she had young children, she would rather them smoke than go on social media.