Take you to court over taking back the master bedroom?

Seriously?

You are making too many excuses to not do what needs to be done. Your kids seeing her yell at you is the least of your problems. She wants to move them in with a strange man.

That should be your number one worry right now. Not the master bedroom . Consult a lawyer ASAP on what your recourse is regarding your girls and her boyfriend