I have been ticketed for crossing a double yellow line just before the end of the right hand lane in a passing zone. The reason for this manoeuvre was I had been in the right lane and catching up to another vehicle, I switched to the left lane to overtake the slower moving vehicle, I estimate the speed variation to be around 30 KPH.