BUFFALO – 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.

“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.”