In a rare Saturday morning ruling, the Supreme Court decided that Texas can enforce a controversial voter ID law during the upcoming midterm elections in November.

According to civil rights groups, the law puts an unnecessary burden on voters and will prevent a disproportionate amount of people of color and the working class from getting to the polls.

"Today's decision means hundreds of thousands of eligible voters in Texas will be unable to participate in November's election because Texas has erected an obstacle course designed to discourage voting," said Sherrilyn Ifill, president of the NAACP Legal Defense Fund, according to CNN.

In a 6-3 vote, the majority of Supreme Court justices voted to reject emergency requests from the Justice Department and civil rights groups that would prohibit the state from requiring voters to produce certain forms of photo ID in order to cast ballots in the state.

Justice Ruth Bader Ginsburg issued a statement on behalf of the dissent, writing:

"The greatest threat to public confidence in elections in this case is the prospect of enforcing a purposefully discriminatory law, one that likely imposes an unconstitutional poll tax and risks denying the right to vote to hundreds of thousands of eligible voters," reports The Atlantic.

According to the U.S. Justice Department, about 600,000 registered voters -- many who are black or Latino -- lack state ID in Texas. As a result, they will be turned away from the polls next month.

Democratic Rep. John Lewis also slammed the decision, which was issued two days before early voting begins in the state, calling it a "systematic effort to block voting access of certain segments of the population."

"These laws, as they are written, put additional burdens on hundreds and thousands of voters, particularly the elderly, the poor, rural voters and minorities," Lewis said, reports The Hill.

"These restrictions make it harder and more difficult for many registered voters, who have participated responsibly in elections for years, to have their voices heard in this society. We must not allow these efforts to go unchallenged."