What I actually need is to make the following crossing of horizontal manual railway and vertical automated railway safe for both types of trains.

I already have a large grid of manual rails in order to move quickly through the factory, but I have not used automatic trains so far. However, I got to a point where automatic trains would come really handy and I'm looking for a way how to indtroduce them

I am aware of the following topic: Manual trains stop at signals, but I does not propose a solution, only a workaround to use an automated train to move between stations using the "go to station" mode. I don't see it as a handy solution, as I would need to build hundreds of stations across the map just to move myself.
I have also investigated a solution mentioned in the Rail Crossing thread, but I see no way to modify the solution to work with trains. I'm able to make a solution that closes the gate when an automatic train gets into the crossing, but the manual train would crash into the gate in the full speed anyway.
I wonder how do you combine these types of trains? I'm sure there must be some other solution or something
