Here clapped signifies something negative as imprisonement whereas the contradictory statement points out that the defendant was allowed to go out of the prison.
Consider the statement "The judge gave the defendant an opportunity to go out of jail.". Based on this "The judge clapped him in jail." a true statement? Yes, no, or I don't know?