It actually follows its own tiny elliptical orbit around what is called the center of gravity (the barycenter) of the system, the sun and the orbiting planets. This barycenter is usually not equal ...
That puts it only slightly farther than Mars' current orbit of 1.5 AU from the sun. The simulations show that just one substellar object flyby was sufficient to alter the giant planets' trajectories.