An agency that deprived a town of water for 42 straight days may also have deprived it of due process, the court held.