Problem
I think its a bit stupid that you have to buy influence in a random port that has nothing to with your nations interests. 5mil gold is a significant investiture in a port, so why can it be in a port my nation/I want.
Solution
Nation or King picks ports your buy influence in
or
The mission is not port specific