It's not clear because there are certain conditions that should supersede even a wish. For instance, a deity's ability to control planar links or their realm. Or, in PF, 'do whatever the hell they want'.
Then there are conditions that logically should prevent a wish. An antimagic plane for instance.
Then there are effects that adjust teleporting effects, sometimes to the point of preventing the teleport or changing its destination. Do these still function? What about effects that do not prevent teleports, but react to them?
Because wish is fairly loosely written without examples, in order to provide maximum flexibility for a DM, the specific intent is going to be less than clear to some people.