If you broke the law, you will be held liable for what you did.
Why knowingly do something like this? It is not even worth the loss of peace of mind. Even if nobody finds out, just ask yourself, do you feel good about being a pickpocket? Be a good person, follow your conscience and common sense - your life may not be wealthier, but definitely more peaceful.