This is the moment a driver nearly caused a head-on collision after overtaking an unmarked police car - despite his driving instructor wife telling him not to.

Glen Wells admitted making a "misjudgement" when he sped past a van and the undercover cop.

His wife, a former driving instructor, had told him to to overtake, a court heard.

North Wales Chronicle:

Images, above and below, show the moment driver nearly causing a head-on collision after overtaking unmarked police car. Pictures provided by SWNS

The 61-year-old was just feet from smashing into an oncoming car when he managed to pull his vehicle back in.

Unfortunately for Wells, the entire scene was caught on camera on the A487 near Blaenplwyf, Wales in June.

Rhian Jones, prosecuting, said the police officer had overtaken the van before he saw Wells go past the van and car, crossing a solid white line.

North Wales Chronicle:

In an interview, Wells said he had thought there would be more of a gap between the van and police car for him to pull into and added that he had not intended to overtake the police car as well.

His wife, a former driving instructor, had told him not to attempt the manoeuvre at all.

The driver of the oncoming car said she had to brake heavily and pull her car to the side of the road to avoid what she said could have been a “serious crash”.

North Wales Chronicle:

Neil Davies, defending, said Wells accepted his driving had been careless but that he had not intended to overtake the police car.

He claimed he had found himself in a situation where he had to either do that or try to get back in his lane in front of the van, but that the police car had slowed down after overtaking the van.

Mr Davies said: “At the commencement of the manoeuvre, he had no intention of overtaking the police officer.

North Wales Chronicle:

"His intention was to pull in behind the officer and continue at a normal speed.”

Wells, of Dolweddelan, Trefwrgi Road in Goodwick, pleaded guilty to careless driving at Aberystwyth Magistrates' Court and was given five penalty points on his licence.

He will also pay a fine of £400 and costs totaling £125.