Hope this helps-in similar situation but no children but once as a woman there is one black mark against you with court or police you are doomed. My ex came to house drunk, called police on me because I would not let him in & wanna guess who they sided with. . .Hint Hint, he's a man and cops a man.
You need to "think outside of the box". Court may have ordered you to allow him to stay one night because less stress on children. . .guess where you will stay? Do what I did. . .call the abuse hotline in your area when he arrives and you stay at a safe house. Court date later shows abuse forcing you out of the house. Involve other agencies to get done what you need to. Also, contact your local senator, congressman. I had to reach out to other agencies for help but it finally did--You can do this!
Don't fight him or police or court system, find a way to make it work for you!