I have no experience to offer with this but I am sending prayers and support. I will join the choir though and say going to court with her is not a good idea in my opinion.
In dealing with a similar mess with my AW the only thing I could do was back way off and let things proceed on their own. One thing that helped me in dealing with her was to constantly ask myself " how does this help my recovery?".
I found that putting myself first was the only way I could get better. My wife will either get better or she won't but there isn't anything I can do to change that. I know, I tried for 15 years.
Your friend,