Yeah needles hurt - but it'd hurt more for your snakes to be stolen by someone without you being able to prove they're originally yours!
Plus, reptiles have a higher pain threshold than people. Like GARTHNFAY said, they didn't even flinch. Needle pain never killed anything.