On the physical meaning of the principle of least action