The Russian captain of a cargo ship that hit an anchored oil tanker in the North Sea had tried to change course to avoid a collision, his trial heard Wednesday.