ROME — A humanitarian ship with 64 rescued migrants aboard is stuck at sea as Italy and Malta refuse it safe harbor.

Their refusal sets the stage for another Mediterranean standoff that can only be resolved if European governments agree to accept the asylum-seekers.

Carlotta Weibl, spokeswoman for the German humanitarian organization Sea-Eye, said Thursday that the ship was near the Italian island of Lampedusa: “Malta says we can’t enter their waters and we are unlikely to get permission from Italy.”

Sea-Eye’s ship, the Alan Kurdi, rescued the migrants on Wednesday near Libya.

Italian Interior Minister Matteo Salvini said the German ship should “go to Hamburg.”

But Weibl said “it’s a journey of 3-4 weeks. We don’t have food and water, so it’s completely out of question.”