Appreciation of the real , which Brazil has countered by a tax on purchases by foreigners of its securities , and the forint had forestalled needed gains in competitiveness and could lead to overvaluation and new imbalances , it said .