Hakeem Mohamed was charged with firearms offences after photos allegedly showed him holding a Glock handgun, which was later seized from a co-accused.
Initial charges of sexual assault and human trafficking were dismissed.
The trial focused on whether the object in the photos was a restricted firearm, if Mohamed possessed it with the requisite knowledge, and whether he carried it for a purpose dangerous to public peace.
The court found that the Crown failed to prove beyond a reasonable doubt that the object was a real restricted firearm or that Mohamed knew it was, or that he carried it for a dangerous purpose.
Consequently, Mohamed was acquitted on all remaining firearms charges.