Random Riddle: Attorney Client Privilege

Sam is talking to his lawyer in jail. They are very upset because the judge has refused to grant bail. At the end of the conversation, Sam is allowed to leave the jail. Why?
 
Random Riddle: Attorney Client Privilege