Philippines signed a historic pact