If the comment you are referring to was "this will not look good for you at court ", That's true isn't it ..... certainly going to be more difficult for you to now argue why dad shouldn't have done something fairly stupid when you have then done something equally as stupid just days away from the court appointed date to look at your application.the comment she made about court was personal, unprofessional and discriminatory
Ultimately a judge will decide the gravity & necessity of what you did.... My guess is both of your actions will now be frowned upon, but I definitely see a court ordered parenting course for you both, & that's a good thing.