In recent days, the operator of an oil tanker stuck in the Persian Gulf received a compelling proposal. After weeks at anchor with missiles and drones passing overhead, it could finally sail safely out through the Strait of Hormuz and into the open ocean — escorted by the Iranian Navy. But first it would need to change its registration and raise the flag of Pakistan, according to a company executive, speaking on condition of anonymity in order to discuss sensitive conversations.