The ruling also blocked the administration's previously announced plans to close the venue for up to two years.