A poll worker checks a photo identification at a Ridgeland, Miss., precinct, Tuesday, Nov. 8, 2016. The is the first presidential election where voters were required to have a photo ID.

Mississippi’s voter ID law may be open to legal challenge after the state Supreme Court ruled May 14 to nullify the state’s ballot initiative process that allowed voters to amend the state constitution. 

The 6-3 ruling came as part of the court’s decision to overturn the state’s voter-backed medical marijuana program due to a flaw in the state’s Constitution.

The flaw is a wording error from when the state had five U.S. Congressional districts instead of its current four. The Mississippi Constitution requires a certain percentage of signatures petitioning for an initiative to be on the ballot come from all five congressional districts. The error means the ballot initiative process “cannot work in a world where Mississippi has fewer than five congressional districts,” according to the majority opinion authored by Justice Josiah Coleman.