A lawsuit followed after a clerical error by court staff resulted in a man being arrested twice for an offense to which he'd already pled guilty and resolved.