Sentence: I stuck a pin through a carrot. When I pulled the pin out, it had a hole.
 Reason: The 'it' refers to the carrot because the hole was in the carrot. It was not the pin that went through the carrot. 
 Question: Is the above reasoning correct or wrong? 