Any port in a storm:
is a proverb that loosely means that when someone is in trouble they cannot wait for the perfect solution. The phrase has been used in popular culture and politics since at least 1749. The original meaning of this nautical phrase was that a ship at sea in rough weather had no choice of harbor for shelter.
It is widely believed that international maritime law allows mariners in distress to "lawfully seek shelter in the closest harbor, regardless of nationality".