Whenever a judgment in a criminal action will effect the immediate release of a defendant by discharge, probation, sentence to time served, or otherwise, the court shall cause the prompt delivery of a copy of the judgment to the sheriff no later than three calendar days after the judgment is entered.
ORS 137.175