That would be VERY hard to prove.
The story is that Anna asked one guy to put his name on the birth certificate, but when he said that he had had a vasectomy and couldn’t, Stern signed the birth certificate. Thus, if that story is true, then Stern DID know that he was not the father, but he testified under oath that he was.