Japan was willing to limit immigration to the United States, but was deeply violated by San Francisco`s discriminatory law specifically targeting its population. President Roosevelt, who wanted to maintain good relations with Japan to counterbalance Russian expansion in the Far East, intervened. While the U.S. ambassador reassured the Japanese government, Roosevelt summoned the mayor and school administration of San Francisco to the White House in February 1907 and convinced them to repeal the segregation order and promised that the federal government would tackle the immigration issue itself. On February 24, the gentlemen`s agreement was concluded with Japan in the form of a Japanese note in which it was agreed to deny passports to workers who wished to enter the United States and to recognize the right of the United States to exclude Japanese immigrants holding passports originally issued to other countries. This was followed by the formal withdrawal of the order of the San Francisco School Board on March 13, 1907. A final Japanese note of 18 February 1908 made the gentlemen`s agreement fully effective. The agreement was replaced by the 1924 law excluding immigration. Gentlemen`s agreements have often been concluded in international trade and relations, as well as in most sectors.  Reports that the Grand Trunk Pacific Railway planned to import thousands of additional Japanese workers to work on the western part of the railway fueled the anti-Asian atmosphere.
 Hostility towards the Asian population turned into open violence at a rally organized by the Asiatic Exclusion League in Vancouver in 1907. The crowd turned into an uncontrollable mob that targeted the city`s Chinese and Japanese residents and destroyed their personal belongings.  A gentlemen`s agreement is an informal, often un written, agreement or transaction that is supported only by the integrity of the counterparty, in order to effectively comply with its terms. Such an agreement is usually concluded informally, orally and is not legally binding.