Yes, it w as a ridiculous demand on Trump's part. It was never even offered as evidence in the trial because Trump refused to supply a DNA. sample. By the time a judge ruled in Trump's favor it was too late anyway because the dress was analyzed and the stain on it had no sperm cells.
Lewis Kaplan says Trump has missed his chance to provide DNA sample to rebut allegations first made by Carroll in 2019 book
www.theguardian.com
So she never claimed the dress as evidence because of Trump's delays. Now this question cannot be raised in court, but if Trump was so sure of himself why did he oppose the DNA sample demand until after it was found that the dress had no male DNA?