As stated in the article, this occurred when a journalist asked Trump about NATO countries, such as Spain, that do not meet the NATO minimum defense spending of 2% of GDP.
The American president began his response by saying, "Spain has very low defense spending," and then told the journalist, "Spain is a BRICS country. Do you know what a BRICS country is? You will find out."
Trump also threatened to impose a 100% tariff on businesses that BRICS countries conduct with the United States, the agency notes. Last November, he did this already.
As reported by AP, Spain's Minister of Education Pilar Alegría, who serves as the government's spokesperson, stated that she is unsure if President Trump's remarks stemmed from confusion, but she can confirm that Spain is not a member of BRICS. She added that Spain has been a loyal NATO member for the past four decades and that the Spanish government considers the U.S. a "natural ally."