The answer depends on what the solid
line is for. One of its jobs is to mark lane boundaries at hazardous spots on the road; it also separates opposing traffic, marks the edges of the roadway that you must not drive onto, and marks the boundaries of parking spaces. You may not cross this line, so at a hazardous spot it keeps you from changing lanes