Planets Can Survive Being Swallowed by a Star With Surprising Effects