The decision whether a person is a refugee or not is most often left to certain government agencies with the host country. This can lead to a situation where the country will see an asylum seeker neither as refugee nor as legitimate migrant. Then they will be treated as an illegal immigrant (a person who is not a citizen of the country) even if their life was endangered in the country they fled from. 