But Trump did know.
If you look at the transcripts, Trump denied knowledge. The lower court held that he knew, but the Second Circuit Court of Appeals ruled while he didn’t know that the sub hired illegals, he should have known.
The case was remanded back to the Supreme Court (which is the court of first jurisdiction in NY) and was ultimately settled.