RoseKavalier
Heroes3 code is a bit lazy, it "copies" existing hole object from map - in this case hole is made impassable.
Checked It myself and it's work. Also, it's stay passable if we're change a skin or subtype of copied hole. Changing on yellow visitable tile is also possible.