TOKYO - Japan will bar foreigners from acquiring farmland if their visas are set to expire soon, in a bid to prevent misuse of such land amid high prices for rice and other food items, the farm ministry said.