When faced with situations of desperate need, we do what we feel is appropriate during that particular second. We regret later. I personally would have done the same, there is no time to see (if there is) or how far up is the other plane. Act fast, that is for what pilots are known for.