Look at it mathematically... You're calling off 1/3 of your stack, leaving you with 15 K, 14 K in the pot. If the BB comes over top of you, there'll be basically 36,000 in the pot. (The original raisers 7k, Your 7k, 7k for the BB to call, and 15 K for him to reraise you in). You're looking at 15k to win 36k, or roughly 2.5 to 1 on your money with a premium hand. Unless you think you're up against AA or KK, you more or less have to call. If you're going to potentially be forced to make this play, Go All in Yourself. You may still have ended up in the same position, but you at least put the pressure on the BB and make him consider throwing it away. I know if I had a huge stack, two all ins, and only pocket tens... I would consider a laydown here.
Just my thoughts.