The restrictions come at a tense geopolitical moment in Asia. Ms. Takaichi, an outspoken critic of China, has promised to raise Japan's military spending to 2 percent of gross domestic product this spring. Japan believes that it must modernize its forces to keep up with China's rising military clout in the region. China has denounced Japan's defense buildup. In appealing to Western nations, Chinese officials have invoked Japan's aggression during World War II, saying that it must be contained. Jean-Pierre Cabestan, a researcher at the Asia Center in Paris, said China's restrictions were aimed at showing that Beijing would not back down. Chinese officials are working to put pressure on Ms. Takaichi, who recently won a sweeping mandate from voters for her hard-line agenda, ahead of her visit next month to Washington to meet with President Trump, he said. "China is making a big fuss over the militarization of Japan, which is nothing new or unusual," he said. "Takaichi is just increasing some of the expenditures to make the Japanese Self-Defense Forces more credible."