As with all legal questions, the answer is "it depends." In this case, it depends on what the court-ordered fees were for. If the court ordered your ex to pay child support or spousal support arrears, this constitutes a non-dischargeable debt, and will not be discharged in a bankruptcy. This means that your ex-spouse will still be required to pay you, even after the bankruptcy. If the fees are for attorney fees, then they will likely be discharged. If you have a legal objection to the discharge, you will have to file an objection before the deadline. At the very least you should file a proof of claim.
Answered on Sep 04th, 2014 at 12:22 PM