THE driver of a tanker involved in a collision with a train that injured 21 people will appear in court this morning charged with endangering safety on the railway.