And if he chose a defective bomb on purpose, in order to scare you? Isn’t he guilty of a lesser crime in that case?
That’s not what we’re talking about here, though. The issue is whether he can claim the defense of impossibility. In your scenario, he’d simply be trying to commit a different crime.