Romania is located on a major flyway for migrating wild birds , and it was the first country on the European mainland to detect a case of the deadly strain .