This is a really nice find. I remember coming across something similar, but unfortunately can't remember in which level.
However, I believe, even if it is not necessarily a bug, that this procedure was not intended this way.
If I find time, I'll check it out personally.