There are a lot of court cases on obscenity, some of which hold decisively [1].
> a man was sued under copyright laws for pirating pornography and their defense was that because the work was obscene it could not be have any copyright restrictions…since the law firms suing over piracy are just spraying and praying, they don't want an actual trial
Nonsense. Porn companies regularly go to court to protect their IP [2]. (To your example, in which venue was your defendant defending himself if not in a court?)
[1] https://www.pbs.org/wgbh/pages/frontline/shows/porn/prosecut...
[2] https://abovethelaw.com/2017/12/porn-piracy-forbidden-to-set...