Japan 's parliament has ratified a free trade agreement with Mexico .