Under the Immigration Control and Refugee Recognition Law, foreign nationals who overstay their visas or engage in activities outside the scope of their residence status become subject to deportation. However, they are not immediately removed from the country. They may remain while their cases are reviewed, while departure procedures are carried out or while asylum applications procedures are underway. In addition to immigration detention, Japan allows certain individuals to live in local communities under two alternative arrangements. One is provisional release, available to people requiring humanitarian consideration, such as certain medical conditions. The other is the sponsorship system, under which individuals may live outside detention facilities if supervised by a sponsor.