I could be mistaken, but I think it is more of a question of trying to protect the native wild corns. If it isn't legal to keep them, then people won't be tempted to capture wild ones?

Not sure if that line of reasoning actually works though. I can see people hearing that corn snakes make good pets, can't find one in a pet store, so go catch a wild one.