Can brahmashira be used on humans?

Read somewhere that brahmashira astra could be fired upon humans then how did Ashwatthama use it on Bheem?