Is obtaining proper equation of motion from D'Alembert's principle a mere coincidence or there is some logic behind this?
This is asked because while we are finding the equations in a regime where the displacement is virtual, who guarantees that the obtained equations will do when the displacements are real, too?