Legality of Columbo's trick with the cigar box

Child thread created: Dumbest way a TV detective has solved a crime