If Apophis passes the earth at a distance of exactly 18, 893 miles it will open a "gravitational keyhole" causing it to enter a new orbit that would put it on a direct collision course with earth seven years later.
CNN: Space's threat to civilization