G7 Ministers pledge to uphold international law as Chinese and Russian threats loom