My 3GPP TS 22.011 Notes
3.2 Network Selection
See spec for details...
3.2.2 Procedures
3.2.2.1 General
...
If registration on a PLMN is successful, the UE shall indicate this PLMN (the "registered PLMN") and be capable of making and receiving calls on it. The identity of the registered PLMN shall be stored on the SIM/USIM. However, if registration is unsuccessful, the UE shall ensure that there is no registered PLMN stored in the SIM/USIM.
If a registration is unsuccessful because the IMSI is unknown in the home network, or the UE is illegal, then the UE shall not allow any further registration attempts on any network, until the UE is next powered up or a SIM/USIM is inserted.
If the registration is unsuccessful due to the lack to service entitlement, specific behaviour by the UE may be required, see clause 3.2.2.4.
To avoid unnecessary registration attempts, lists of forbidden PLMNs, TAs and LAs are maintained in the UE, see clause 3.2.2.4 and 3GPP TS 23.122.
Registration attempts shall not be made by UEs without a SIM/USIM inserted.
...