Convention Relating to the Status of Refugees
Article 31 says that a refugee who has entered a country illegally should not be punished, if the refugee did this to escape from a threat to his life or freedom