I modified the train's speed, but gates just don't seem to detect electric locomotives in time, and as a result they always hit the gates
I have tested this with a normal locomotive going at 259km/h, and an Express Electrical Locomotive (and previous tiers) going at 216km/h and 412km/h
Gates have always opened in time for the former, but never to the latter, and speed doesn't seem to be the issue