Gardaí who carried out a search looking for cannabis at a Wexford house were in for a surprise, the Circuit Court learned.