The Supreme Court will hear a case examining whether migrants who lost their asylum status after criminal convictions remain eligible for permanent residency.