This case is unusual because the State and a criminal defendant find themselves making common cause against a ruling of the district court.