BUFFALO, N.Y. — After three defendants fatally overdosed in a single week last year, it became clear that Buffalo's ordinary drug treatment court was no match for the heroin and painkiller crisis.

Now the city is experimenting with the nation's first opioid crisis intervention court, which can get users into treatment within hours of their arrest instead of days, requires them to check in with a judge every day for a month instead of once a week, and puts them on strict curfews. Administering justice takes a back seat to the overarching goal of simply keeping defendants alive.

 Residential Rehab Programs May Help Former Addicts Stave Off Relapse 1:59

"The idea behind it," said court project director Jeffrey Smith, "is only about how many people are still breathing each day when we're finished."

Funded with a three-year $300,000 U.S. Justice Department grant, the program began May 1 with the intent of treating 200 people in a year and providing a model that other heroin-wracked cities can replicate.

Two months in, organizers are optimistic. As of late last week, none of the 80 people who agreed to the program had overdosed, though about 10 warrants had been issued for missed appearances.

Buffalo-area health officials blamed 300 deaths on opioid overdoses in 2016, up from 127 two years earlier. That includes a young couple who did not make it to their second drug court appearance last spring. The woman's father arrived instead to tell the judge his daughter and her boyfriend had died the night before.

Image: Court Judge Craig Hannah presides over Opiate Crisis Intervention Court in Buffalo
 
City Court Judge Craig Hannah presides over Opiate Crisis Intervention Court in Buffalo, New York on June 20, 2017. AP file