The transport ministry said Thursday that Japan will conditionally accept direct flights from Hong Kong at airports in Fukuoka, Naha and one near Sapporo after it had initially planned to ban them.

The flights from Hong Kong can arrive at the three airports provided there are no passengers who have stayed in mainland China within the previous seven days, it said.

Amid a surge in the number of coronavirus infections in China, the government said on Tuesday that it will restrict departures and arrivals of direct flights connecting Japan with mainland China, Hong Kong and Macao to four airports — Narita, Haneda, Kansai and Chubu.

It also requested that Cathay Pacific Airlines, Hong Kong Airlines and Hong Kong Express Airways halt their flights connecting Hong Kong with New Chitose, Fukuoka and Naha airports.

But it decided to change the plan following talks with the carriers.

Japan will require all travelers from mainland China and those who visited it within seven days to test for COVID-19 upon arrival starting Friday.