Countries have a lot more freedom on how to administer their two-letter ccTLDs than do the operators of the gTLDs. I don't believe they're required to defer to trademark holders in the way you describe, though many choose to.
I didn't mean to imply that they have to defer to Amazon. On the other hand, countries have in the past done things that were within their rights and were still sued for large sums. I was thinking of cases like Occidental v. Ecuador.