A teenage driver overtaking on the wrong side of the road found himself heading straight towards a police car.
Blackburn magistrates heard Mohammed Kesser slammed on his brakes and pulled back into the line of traffic, forcing other cars to take evasive action.
Kesser, 19, of Petre Crescent, admitted driving without due care. He was fined £50 with £58 costs and his licence endorsed with four penalty points
Scott Parker, defending, said his client was a probationary driver and penalty points would mean he would have to take his test again.
He said on the day of the incident Kesser was having difficulty with his breathing as a result of a childhood injury.