Court records say officers saw him dump a brown liquid out of the vehicle.