No one should allow *any* dog that close to a newly arrived baby.
The sounds and smells, much more obvious to a dog, can overwhelm the nicest dog in the world.
Which is why they give lists out on how to prepare the animal and how long to wait to introduce (like boarding the animal if needed). Animals are always unknown quantities.