Actually it isn't legal, not because of the solid line, but because of the corner. HTA 149 (1).
When you're coming up to a corner and passing in double-solid-yellow, then hell yeah, it ain't legal. But I've seen it on some pretty straight stretches and in areas where a typical bike could lawfully make a pass, but it would not be advisable for a car. Hell, I've seen dotted yellows become solid yellows over the years with no changes in (foot or vehicle) traffic volume or zoning.