Or they want to identify the child victims of sexual abuse, and want to make sure those children are safe, and that the people abusing them and taking photos of that abuse are prosecuted.
Since child porn is illegal just about everywhere (although the definition of "child" may vary), it should pose no problem to notify the authorities in the country of origin.
The new age model is to convict ten innocents than let one guilty suspect go.