A Japanese government spokesman said Tokyo "will carefully examine the content of this ruling and the Trump administration's response to it, and respond appropriately."