In your hypothetical the girl is following the dog not leading it. If she were following the dog its doubtfull the dog would have went into RV.
I would suggest you slow down and really read what I said.
Again. Here is the scenerio. The dog is out loose. The child follows the dog where it is going. It (the dog) ends up at the motor home. (Maybe smelling urine that another dog squirted on the tires.)The child then is curious about whats inside and opens the door and goes in. Then the dog follows her into the motor home.Capish?