3-point question ( of )

Is it prohibited to overtake a rail vehicle in this situation?