If this behavior is unavoidable then it should at least be mentioned in the documentation and comments.