Elon Musk will have to testify over his role in shuttering the U.S. Agency for International Development, a federal judge ruled Wednesday.

U.S. District Judge Theodore Chuang ruled that “extraordinary circumstances justify” compelling Musk and two former USAID officials, Peter Marocco and Jeremy Lewin, to be deposed in a lawsuit. Former USAID employees and contractors are suing Musk, accusing the former head of the Department of Government Efficiency of illegally dismantling the aid agency.