Police in Wales were left to monitor a van stranded out at sea after the owner parked it before the tide came in.