This seems like a rather pointless thought exercise, but the Navy has a responsibility to enforce law and order (...in addition to extra-legal responsibilities), and impact on "bottom line" is not really a factor considered directly in military operations.
I didn't say it was. I'm asking "and then what?" Can they force a port to take in and unload a ship? Would they just leave it adrift? Would they unload it themselves?
If it became a nautical or environmental hazard they'd be compelled to act. If it's just anchored in international waters there's nothing they could or should do.