"This decision strengthens the government's humanitarian approach and determination to engage in dismantling of the [Calais] camp as soon as possible and before the winter," French Interior Minister Bernard Cazeneuve and Minister of Housing and sustainable Habitat Emmanuelle Cosse said in a joint statement.
Several charities initiated the legal challenge last week over concerns that the decision to close the camp was too hasty and harmful for the refugees.
Thousands of migrants from the Middle East and North Africa are living in the Calais camp, located not far from the Channel Tunnel, in hopes of reaching the United Kingdom.
The remaining part of the camp is to be closed before the end of October, after the main section was dismantled in March.