I'm not sure about stock Android, but on Cyanogenmod you can block calls from unknown numbers (not present on your contact list) or even block using wildcards. Extremely useful feature for my spam phone.
There's basically about a thousand scenarios where "block calls from unknown numbers" feature wouldn't work. I call it the "nuclear option" and just with nukes, the collateral damage just isn't worth it.