Section 10. The violation by the operator or driver of a motor or other vehicle of any rule, regulation, ordinance or by-law limiting traffic on any specified way to traffic moving in one direction shall not, in respect to any civil liability, render such operator or driver, or such vehicle or any occupant thereof, a trespasser upon said way.