The teacher will avoid saying anything that can be construed as offence. Probably something like "that's a really good question, but its really not a question for science class, however I am happy to discuss it after class with you if you want"
That's what I picture.