A little white curly-haired dog runs across the pavement with a stick in its mouth.
A dog barks at the wall.
Dogs usually have to open their mouths to bark, so a stick would fall out of its mouth.
A dog with a stick in its mouth cannot be the one that barks.
A dog cannot bark at a wall if it running across pavement with a stick in its mouth.