Orbital Perturbations of the Galilean Satellites During Planetary Encounters