Let’s say it’s real life and that would be USD/ EUR. In this case you sell the contract currency to the bank, so you use the first rate. You multiply the 20 Mio EUR to the first rate. You can easily asses this, as you will get less USD than if you used the other rate. The bank always wins!