wouldn't the wires that go to the rear be the same on every car?
I have never done what you are doing, so can't help much.
Let me re-word your question;
Were all Foci in 2002 manufactured "pre-wired" for power windows/locks inside the car -and- the only difference in these cars was NO wiring inside the doors only?
Answer = I do not know.
Could I take the doors off a car with no power windows/locks and install new doors that have power windows/locks and expect the power windows/locks to work?
Answer = I do not know.
--------------------------------------------------------
You will need a set of eyeballs, a multimeter, and a wire diagram to find out if your car is pre-wired or not.
HERE is the wire diagram.