It's hit or miss. Depends on the court. Case-by-case analysis.
How Does the Law Treat Repressed Memories?
Courts have failed to find a consistent approach regarding repressed memories. (article written by a lawyer)
There has been, and continues to be, disagreement among psychologists, psychiatrists, and other mental health professionals regarding the reliability of repressed or recovered memories. Many psychotherapists still debate treatment issues, including ethical issues and clinical techniques and practice.
On one hand, studies indicate that significant numbers of abuse victims report a loss of memory of the abuse, at least at some point in time. On the other hand, research has also shown that false memories can be implanted. According to the American Psychological Association, it is not possible to distinguish repressed memories from false ones without corroborating evidence.
….
The 2015 Trial Objections Handbook (2d ed. § 3:9) proposes:
Undoubtedly repressed memory testimony can be unreliable, especially if the memory was elicited under guidance of a therapist with an ideological agenda. Nonetheless, exclusion seems inconsistent with the generally permissive approach of [the Rules of Evidence], which purports to allow all witnesses to testify, whatever their defects, in the absence of a codified rule of exclusion. If witnesses who have insane delusions can testify, then it seems inconsistent to exclude the testimony of sane witnesses who claim to remember a long-repressed event. And once they are allowed to testify, it seems that expertise about the nature of repressed memory should also be received, providing that it meets the requirement of scientific validity.
https://psychologytoday.com/us/blog/so-sue-me/201602/how-does-the-law-treat-repressed-memories