there was not a shred of legality in their imprisonment , but since justice robert f. smith was also the town judge , jailer , and coroner , the prisoners had little choice but to submit to the outrage .