SYDNEY, Australia — The government of Papua New Guinea is not required to supply power, water or food to 600 migrants who have refused to leave a shuttered detention center on Manus Island, the country’s Supreme Court ruled on Tuesday.

The migrants, all men seeking asylum who were detained on their way to Australia, sought the court’s intervention, arguing that the government’s decision to stop the services amounted to a violation of their human rights.

“This order shows how we are forgotten people and there is no justice for us,” said Behrouz Boochani, a Kurdish journalist from Iran who is one of the detainees.

Inside the camp, the court’s decision was met with sadness and despair. Several migrants said people were crying.