It is quite possible for the effect of one spell to contradict the effect of another. For example, a unit has a spell cast upon it by a Wizard that prevents it from moving, and it might subsequently have a spell cast upon it by another Wizard that obliges it to move. In these cases, the most recent spell automatically dispels the previous spell.