I think it was created on one hand to separate many hispanics from white people and also to create a new victim class to keep jobs for the future.
Yes --- to get in on affirmative action programs --- a subgroup of whites had to invent a new race class --- a new minority group. Having an ancestor who spoke Spanish instead of Italian or Polish shouldn't qualify you for special government scholarships and other affirmative action.