I think the cop is wrong about the law
If he's not using the piss for a drug test, and doesn't intend to use it, then it's legal to possess it