I mean when using the price system which the author recommends for multi-currency transactions. What you say is possible when using the cost system, but leads to a lot of other complications as it means maintaining an inventory/lots for these transactions, and the documentation also suggests not taking that route.
[1] https://beancount.github.io/docs/running_beancount_and_gener...