Not a pup, but I fully agree. If a mob is entirely immune to something, it should definitely be possible to customise the AI so that it does not continue to use it.

Anything else would just be... unfair, really.