But the state appealed , forcing the men to remain in custody .