Minnesotans are being routinely — and, in some cases, wrongly — convicted of drunken driving charges because of a machine whose operation largely remains a mystery, an attorney told a federal judge Wednesday.

"The consequences being meted out by this instrument ... are serious, yet we know precious little about how this machine goes about making its accusation," said Jeffrey Sheridan, a lawyer with the Minnesota Society for Criminal Justice. "We should be able to confront our accuser, and in this case, our accuser is this machine."

He was referring to the Intoxilyzer 5000EN, the primary device Minnesota law-enforcement agencies use to test drivers' blood-alcohol content. A legal fuss has developed over the machine's "source code," the computer language that tells the machine how to interpret a person's breath sample.

Defense attorneys statewide question whether the code works properly, and they sued the state for access to it. The state replied it didn't have the source code and sued the maker, CMI of Kentucky, for it.

The company claims the code is a trade secret but reached a settlement with the state that ostensibly gives a defendant the right to have his expert witness examine the source code. Defense attorneys claim the agreement's provisions for the examination make it virtually useless.

In a hearing before U.S. District Judge Donovan Frank on Wednesday, lawyers for the state and CMI argued the settlement should be approved. Sheridan and lawyers for other groups said the settlement would be bad for the state and worse for defendants facing driving-while-impaired charges.