The line itself decides the answer:
is a solid line that separates traffic moving in opposite directions, and crossing it is banned. The rules have one exception: when such a line marks the edge of a parking area, you may cross it to enter or leave the parking area. Here the line separates opposing flows, so the exception does not apply: you may not cross it into the oncoming lane. To turn left or make a U-turn, you need to drive on to where the solid line ends or becomes a broken line