I would also think worst case scenario too if they have to be separated from the kids. Don't let them be unsupervised with the kids.
I will never have my dogs and grandies together, ever. My dogs have relatively no experience with kids, I wouldn't trust the kids either as they may inadvertently
do something that the dog may react badly with.
I have a huge pen they can be permanently in for the duration of my grandies being here and they can only meet through wire. It is always good to have plan A and B.