It seems to me that the nearest analogue here is that a damaged ship, or in this case an airplane, that makes it into the nearest safe harbor is supposed to be accorded, at least as a matter of custom and general international practice that kind of safety. Medical attention should be provided to anyone who needs it and the ship and the crew should be left unmolested.