The Tokyo Court rejected the claim , finding that the Indonesian government was responsible for securing residents ' approval and assessing the environmental impact before giving the green light to Japan .