(CNN) A federal judge expressed dismay over the State Department's continued delays releasing Hillary Clinton's emails.
"The government has put me between a rock and a hard place," Judge Rudolph Contreras said at a hearing Tuesday, noting his displeasure over the State Department's explanations about the delays.
Contreras said he felt he was being forced to choose between accepting the State Department's proposed timeline without question, or else risk the accidental release of sensitive information by hurrying the process.
The State Department's proposed production schedule would result in all the remaining emails being released the day before "Super Tuesday" and after early contests in New Hampshire, Nevada and South Carolina.
In the end, the judge ordered the State Department to provide detailed information about why the process is taking so long, and how the State Department temporarily lost track of thousands of pages of emails, leading to the current delay.
He also told the State Department to be ready to produce some subset of emails by February 18, "if not sooner," adding that he'd make that determination after reading their explanation.
When an attorney for the State Department told Contreras it would take over a week for emails that have already completed the inter-agency review process to be posted online, Contreras said, "that seems like an unreasonably long period of time."
The week in politics
Democratic presidential candidates Bernie Sanders and Hillary Clinton face off in the
MSNBC Democratic debate at the University of New Hampshire in Durham on Thursday, February 4. Among other topics,
Clinton debated Sanders about his statements that she is trying to be both a moderate and a progressive.
Republican presidential candidate Ted Cruz kisses his wife Heidi at a rally in Des Moines after
winning the Iowa caucuses on Monday, February 1.
Barbara Bush jokes with her son, Republican presidential candidate Jeb Bush, while
introducing him at a town hall meeting at West Running Brook Middle School in Derry, New Hampshire, on Thursday, February 4.
United States Republican presidential candidate Donald Trump speaks during a campaign rally in Portsmouth, New Hampshire on February 4.
Flint, Michigan, residents Gladyes Williamson, center, and Jessica Owens, right, attend the House Committee on Oversight and Government Reform hearing on Capitol Hill about the Flint
water crisis. Williamson and Owens hold bottles of contaminated water, and Williamson shows a clump of her hair. The two traveled to Washington by bus with other families to demand that Gov. Rick Snyder be brought to testify before Congress. The House hearing was on Wednesday, February 3.
Iowa caucusgoers line up outside a Democratic meeting held at Maple Grove Elementary in West Des Moines on Monday, February 1. Former Secretary of State Hillary Clinton and Vermont Sen. Bernie Sanders were deadlocked at 50% after 99% of votes had been counted, but Clinton emerged victorious early the following morning.
University of Alabama football player and Heisman Trophy winner Derrick Henry and President Barack Obama strike a "Heisman pose" during the
National Prayer Breakfast in Washington on Thursday, February 4. The annual event brings together U.S. and international leaders and figures from different parties and religions for an hour devoted to faith.
Republican presidential candidate New Jersey Gov. Chris Christie is reflected in his car's window after a campaign event on February 6, in Bedford, New Hampshire.
Martin Shkreli, former CEO of Turing Pharmaceuticals, right,
invoked his Fifth Amendment right against self-incrimination during a House Oversight and Government Reform Committee hearing in Washington on Thursday, February 4. Turing had raised the price of Daraprim, a drug used by AIDS and cancer patients, by 5,000%, from $13.50 to $750 a pill.
Rob Webber of Boston paints his face with an American flag before the start of a town hall hosted by Republican presidential candidate Ted Cruz in Windham, New Hampshire, on Tuesday, February 2. The event at the Crossing Life Church was Cruz' first in New Hampshire following his victory in the Iowa caucuses.
Republican presidential candidate Ben Carson and his wife Candy Carson stand up to applaud the arrival of President Barack Obama and first lady Michelle Obama at the National Prayer Breakfast in Washington on Thursday, February 4.
Fridge magnets are pictured in U.S. Republican presidential candidate Donald Trump's campaign headquarters in Manchester, New Hampshire, February 4.
Republican presidential candidate Carly Fiorina waits to be introduced at a campaign event at Maple Avenue Elementary School on Saturday, February, 6.
House Speaker Paul Ryan holds a news conference about his party's legislative agenda in Washington on Thursday, February 4.
Dave Chiokadze, left, and James Radcliffe, volunteers for Republican presidential candidate Donald Trump, walk through the snow knocking on doors in search of Trump supporters in Londonderry, New Hampshire, on February 5.
U.S. Republican presidential candidate and Ohio Governor John Kasich listens to a question from a student during a campaign stop at Concord High School in Concord, New Hampshire on February 4.
Susan Mielbrecht of Moultonborough, New Hampshire, wears an image of Republican presidential candidate
Marco Rubio while attending a town hall meeting in Laconia on Wednesday, February 3.
The White House, pictured here on February 3, shines through a wet evening.
The State Department has released about 85% of Clinton's official emails to date, but many of the most sensitive emails -- those that require addition review by the intelligence community and other government agencies -- are expected to be in the remaining tranche.
Five-hundred and seventy of the approximately 3,700 remaining documents have made it to the last couple stages of the review process, according to the State Department's attorney Robert Prince.
In a filing last month, the State Department said it needed a one-month extension to release the final set of emails because approximately 7,000 pages of them had been misplaced for a period of several months before they could be sent to other government agencies to review.
That error, State argued, compounded by a weather-related government closure, meant they wouldn't be able to get the final batch of emails out by the original January 29 deadline.
Lawyers for journalist Jason Leopold, who is suing the State Department over the emails, argued the delay was unreasonable and would "cause grave, incurable harm" to voters in early presidential primary states who are deciding whether to vote for Clinton without being "as fully informed as they would otherwise."
Contreras seemed to agree, saying the timing of the release was important for the reasons cited.
The judge also asked Prince whether the emails could be released to Leopold more expeditiously if they were not posted online, but the State Department argued it could take even longer to provide them to the plaintiff directly.
Contreras had ordered the State Department to stick to a monthly production schedule for the emails last Spring, rejecting the State Department's request to release all the emails at once in January.
The State Department had been progressing more or less on schedule until the discovery of the misplaced emails, which they've admitted was a mistake but have not explained in any detail.