If you have enabled iMessage / Google verification, a verification SMS will automatically be sent to Apple / Google when you insert a new SIM into your phone and this SMS is deducted from your Local SMS balance.