The court said it would let the Human Services Department prove that its programs will help the homeless find shelter after their emergency assistance ends.
The agency is part of the Health and Human Services Department.
The Human Services Department, which has seven other divisions, oversees programs to care for abused children, the mentally disabled and the poor.
The Human Services Department each year helps an additional 12,000 welfare families who are threatened with eviction.
The labyrinthine Health and Human Services Department is a collection of agencies.
A spokesman for the Health and Human Services Department declined to comment.
Staff members are still employed by the Human Services Department.
The Health and Human Services Department said it would comply.
The Human Services Department has 880 positions for registered nurses, including 150 that need to be filled.
At the end of that period, the Health and Human Services Department will report to Congress.