The DMV’s decision follows a new federal rule that limits immigrants’ license eligibility to a much narrower set of legal statuses.