Not Wanting B.D at delivery

So, just like my tittle says I don’t want my baby daddy at the birth of our child. He recently broke up with me telling me he doesn’t love me and that he prefers to be alone (I’m currently 36 weeks). All through the pregnancy Ive tell him that I really wouldn’t like anyone with me at the birth but was willing to let him in because he was supposed to be my support. I now feel like he is going to stress me out, make childish comments if I poop during birth etc. On the other hand I don’t want him to miss the birth of his baby (it’s our first).

I really don’t know what to do.

I feel that if I take the decision of not letting him in he is going to even more hostile towards me and could take me to court out of spite.

Should I let him in just because I fear him?