Actually, it was/is child pornography by definition. She was 17 and under the age of majority. While she may have consented, by statute she was unable to give consent.
The old line 15 will get you 20 is still operative. And when I was 16, I would never consider fornicating with a girl who was 15. Same applies here. He should have never considered taking a naked picture of his under the age of majority girlfriend even if she let him.
.
This is many orders of magnitude beyond absurd.
.
Bill Gates fault — he put the cameras in the damn phones.