It's the act of sex that is illegal, not the making of the film.
You can say it all you want, but it is NOT illegal.