If the target nonland permanent is an illegal target when the "enters" ability tries to resolve, it won't resolve and none of its effects will happen. No permanents will be exiled, including those with the same name as the target.