Malta's armed forces intercepted a Turkish tanker that had been hijacked by a group of more than a hundred migrants.
The tanker, El Hiblu 1, had rescued them off the coast of Libya on Wednesday. After it was hijacked it was re-routed towards Europe.
By Thursday morning it had reached Maltese waters and the country's military boarded the ship and brought it ashore.
As news of the incident broke on Wednesday, Italian Interior Minister Matteo Salvini referred to the rescued group as "pirates," vowing to never let them see Italy closer than "with a telescope."
He reiterated his stance in a Facebook post later that evening, adding: "I haven't changed my mind: my priority is the safety of Italians."
"The ports remain closed."
Private initiative Mediterranea urged European authorities to "behave as the legal civilisation they proclaim to be," asking that they take into account that the migrants are "human beings fleeing from hell."
Doctors Without Borders said it was a "desperate and dangerous" situation that only highlighted "the broken system at sea and the despair of vulnerable people."
A UN report from December 2018 said migrants fleeing Libya had faced "unimaginable horrors," including torture, gang rape, slavery and human trafficking.
This hijacking incident was reported just after the European Union announced this week that it would scale back its Mediterranean rescue mission, Operation Sophia, by ending navy patrols that prevent migrants making the perilous sea crossing to Europe.
A number of human rights groups criticised the decision, saying it was evidence of European leaders attempting to shirk responsibility amid the crisis.
Human Rights Watch's associate director Judith Sunderland said: "Though adamantly not its mandate, Operation Sophia vessels saved tens of thousands of lives."
"Whatever you thought about Operation Sophia, this development illustrates starkly the willingness of EU governments to do anything to avoid responsibility for refugees and migrants, and their readiness to condemn women, men and children to abuse in Libya."