In addition, Messenger will use this lap around Mercury to help put the spacecraft on a trajectory to help it return to orbit around the planet permanently by 2011.
If that happened, the Martian gravity would change the spacecraft's trajectory, hurling it toward Venus, where another gravity assist would return the spacecraft back to Earth.