Can it be upheld? I'm not sure what that question means. If the question is may they charge you with possession, if the cop checked the seat before his shift and after each occupant [as is generally the case], they can readily charge you. Whether they can convict you or not depends on many things not suitable for explication here.