Close call after train and car incident