In real life when a suspect is arrested, or before (depending on the situation), the suspect is patted down and a quick search is done. The bags drugs, as in the opening trial, would have easily been found.
In real life evidence is permitted or not permitted before the final trial and therefore the fatman asking the suspect on the stand in a surprise way if the bags of drugs were his, would not be a surprise to the suspect who would have been advised by his lawyer beforehand.