Residence card and legalization