"The court concluded in a really strong opinion that the directives that the agency had issued were unlawful, arbitrary and capricious," Shalini Agarwal said.