That's really doing way too much magic. You have here a behavior that is impossible to define in a precise way, and thus a potential source of bugs. It is something to avoid.