Themes in Moodle 2.0 are able to override any standard image provided by the Moodle core by default. So if a file themedir/pix_core/s/biggrin.* exists it is automatically used instead of standard dirroot/pix/s/biggrin.*. Themes like any other plugins are also able to extend the standard emoticon set or change the file names or their directories.