Judge who oversaw 2005 shutdown explains 'essential' services