The girl did not obey her mother, who caught her in a compromising position