No, but some spells are prevented from being cast without scripting. This is really just the reverse.
Saying, "the AI makes bad decisions, live with it", is not a good argument against improving it where it can be improved, even if it'll still make other bad decisions.