iPhone 3g's that are factory unlocked (aka legally unlocked) are updated with the same firmware file as any other iPhone but what allows them to stay unlocked?
I have not played around with one myself, but plan on getting one to see if one can be used to unlock others.

