COPENHAGEN — Denmark plans to house the country’s most unwelcome foreigners in a most unwelcoming place: a tiny, hard-to-reach island that now holds the laboratories, stables and crematory of a center for researching contagious animal diseases.

As if to make the message clearer, one of the two ferries that serve the island is called the Virus.

“They are unwanted in Denmark, and they will feel that,” the immigration minister, Inger Stojberg, wrote on Facebook.

On Friday, the center-right government and the right-wing Danish People’s Party announced an agreement to house as many as 100 people on Lindholm Island — foreigners who have been convicted of crimes but who cannot be returned to their home countries. Many would be rejected asylum seekers.