A Tesla owner says he ended up in the middle of an active train track after Autopilot mistook it for a road, a California police department said in a warning to other drivers.

The reported California incident is the second in two months with drivers saying a Tesla in Autopilot mistakingly drove onto railway tracks. The last incident occurred on May 8 and almost resulted in a freight train crash.