I am actually not sure yet what the first court date is all about, I have to meet with my lawyer this coming week to discuss it.
It's probably a technicality of some sort, would be my guess. Where the lawyers do a bit of theater with the judge, and maybe some posturing to each other, also showing their clients that they are advocating well on their behalf.
At my first few court appearances, the lawyers did all the talking.
Try to not take things personally -- lawyers are ethically bound to represent their clients. The other lawyer will appear to be bamboozled (and might be), saying nasty things about you. If your wife is very difficult and dysregulated, it's possible that she may fire her lawyer (common here... .) or the lawyer will withdraw from the case.
Our cases take a while. We often say here that this is a marathon, not a sprint.
In my case, and many others here, it takes a while for the court to see clearly our BPD ex spouse's pattern of non-compliance and difficulty. My ex is a former trial lawyer and had a full-blown psychotic episode in court. No matter how high-functioning in real life, these cases can be very dysregulating for someone with BPD and the anxiety about being seen under the court's microscope can cause a lot of distress, including psychosis.
Great that you have a lawyer who understands BPD. Mine did too. I still think it helps to check in with people here because there's a lot of collective wisdom and good insights, if only to help calm your nerves and help interpret what is going on (without paying your L for hand-holding, which is expensive!).
You mention your goal is custody. How much? Full legal and physical custody? What visitation schedule are you going for?
Has your L suggested a strategy? If so, what is it?
What kind of tactics have been proposed? Your L may not discuss this with you, but it's good to know. Being informed makes you a better advocate for yourself, especially if there are times you aren't certain the tactics are the right ones for your situation.
This board is a great peanut gallery to help cheer you on and point out where there are leaks in the plan that you might want to tend to.

LnL