Police say a medical condition may be the reason for a bizarre accident in front of a freight train in Guelph Wednesday just after noon.

Police say a 76-year-old Guelph man was driving a 2012 Mazda north on Edinburgh Road, north of Inkerman Street, when he stopped at a rail crossing because a freight train was passing around 12:20 p.m. The safety gates were down at the crossing and warning lights and signal bells were on.

Police said the man suddenly accelerated northbound in the southbound lane for a short distance.

He then mounted the west curb, drove across the lawn of a house, hit a tree and then went through a large wooden fence at the north edge of the residential property.

The vehicle continued northwest across a commercial driveway and vacant lot before breaking through a wire fence bordering the railway property.

Vehicle drove at freight train

The vehicle continued towards the slow moving train but became "hung up" on a set of tracks south of the main line, police said.

Then the vehicle changed direction and travelled west along the track before coming to a stop because of extensive damage.

"The motor vehicle sustained extensive front end damage as a result of repeated impacts with several curbs and railway tracks and was demolished," police said in a release.

The vehicle did not come into contact with the freight train.

The man was not injured but was unable to recall details of the collision, police said. He was taken to hospital for assessment.