A delayed milah is not done on Thursday or Friday, as The Rashbatz wrote, lest they come to profane Shabbat. The Chida and the Chatam Sofer rejected the Shach’s question. Rav Ovadia Yosef would refuse to be sandak at such a brit, yet a birth at bein hashemashot is circumcised before Shabbat, for a safek of a Torah commandment pushes the concern aside.