abolition of the residence permit