And we also know that pornography is a thing that is disgusting and bad,
I don't know about that. Speaking as both a consumer and producer of pornography, I think it is beautiful and good.

in all religions it is forbidden.
Actually, many religions don't have a problem with pornography.
Is it not opposed to local religion?
I know Buddhism doesn't oppose pornography (except for monks who've taken a vow of chastity) and I don't think Shinto does either, but I'm not as familiar with Shinto. In any case, religious dogma should not serve as a basis for government policy.