We usually smoke everything we have a couple of kms before the border, just to be sure we have nothing when they are going to check on us, after all that's their job, they're gonna check anyway.
It also happened on the border to Slovenia, with my girlfriend, they separated us and told me they had a new test that detected every known drug and could charge me on the account of using.
I laughed so hard that they let us go.