There's the large assumption that the flag carrier country will pay.
Realistically, once this becomes a strategem, and a known one, anyone with a boat can enter your waters, hoist the jolly roger, then say "Yeah, take me into asylum." And poof, your immigration procedures evaporate.