The project was seemingly killed by Maine voters in a referendum last November, but the court’s ruling may breathe new life into the initiative.