Again, nowhere does Apple actually say you must have a payment method from that country. Apple's online documentation is by no means thorough, but since this question has been around for 20 years now you would think that if you had to use a card from the same country then they would simply say that in a short, clear sentence. Not saying that to me implies that it isn't such a simple matter. They may impose this indirectly by other means but in fact what Apple does say in its official documentation implies you can use payment methods from other countries:
The statement below was removed from the November 10, 2021 version of the payment method document Payment methods that you can use with your Apple ID - Apple Support
"Make sure that the billing address for your payment method matches the billing address for your Apple ID. In some cases, you might need to call your bank or financial institution to authorize international or online purchases. You might also need to confirm that the mobile number associated with your payment method is correct." However, Apple doesn't even say that anymore. All they now say is from If your payment method is declined in the App Store or iTunes Store - Apple Support
"You might need to ask your financial institution to allow international purchases on your debit or credit card."
Sometimes something one person posted on this forum gets repeated so many times by others thinking it was the official word that it eventually gets believed by a bunch of people as being such, and regarded as the true and final word. And (not to be mean to Apple) I have gone into an Apple Store and asked a question, told that something wasn't possible, and when I went home and did more in-depth research (and tried it myself) it certainly was.