In Heroes of Might & Magic III sometimes there are bugs, such as: Fire Wall magic.
I treat it as a bug, as the computer tends to behave strangely when it is cast.
Sometimes, the computer loses battles because it focuses so much at not losing small battles, that it loses the big battle.
Should you use this bug? Most likely, yes, but I would treat it as a cheat.
I tend not to use such shortcuts, as they are at the border between cheating and finding a bug.
In life, people tend do focus a lot on bugs, sometimes ignoring the big battles.