I am so proud of you for taking the steps to get the police involved--I know this was not easy for you. I do think her mental health issues, now documented by a police report will be useful and well as the protection order. Please contact the station and find out how to get a copy of the police report.
I have an interesting strategy involving him as an ally... .not sure if I should post it on here.
I think it might be a good idea to post (vaguely) about your plan to make an ally out of her ex. He may still be somewhat attached to her and will sabotage your plan. If you do not want to divulge, please get the advice from your attorney on the matter.
My son's situation was similar to yours in that he got tricked into fathering a baby--she was pregnant after two-three months of dating after assuring him that she could not get pregnant (her first child as a "miracle" and despite him using protection EVERY time. In retrospect, I have a feeling that she did this due to him trying to break up with her. Fast forward baby is born, a covert dna test done when she was about 6 weeks old to confirm he was the father. Hired an attorney and eventually hired a PI. Turns out she was seeing her old bf (the one she had the "miracle" child with) and was even leaving their infant daughter in his care at times (he had lengthy rap sheet as a low level drug dealer). When the child was 7 months old, he won sole custody (gf was given supervised visitation) and shortly after she turned 2 years old he had his exgf's parental rights removed based on the fact she never saw the child once after court or paid court ordered CS.
To this day, I do not know if she convinced her ex that the 2nd baby was his, or because she helped support him, but he would have made an awful ally. I do know that she moved in with him again.
My granddaughter is now 4 years old and is a happy, healthy, bright child. I do confess to several moments of uh-oh that sounds BPD-ish, but it is HER age.