Adani water approval unlawful: court