I can't help to do this on UT, but I can explain what you are looking for.
Sometime there is two operators in a SIM card : your local operator and a roaming sponsor.
As example in europe, roaming sponsor is often Orange or BICS (Belgacom).
So if you are in another country, the SIM card must act like it is from the roaming sponsor.
It can detect and switch context automatically, or you need to switch manually.
To switch manually, you have to run a "javacard applet" on the SIM card, to do that phones have a menu like "SIM-Toolkit-App".