At what point is it allowed to start overtaking in this situation?

Explanation
The truck is approaching the railway crossing, where an overtaking manoeuvre may not be carried out. Once the vehicle has passed completely beyond the crossing, overtaking may begin if the ordinary visibility, marking, and traffic conditions are safe; there is no matching exclusion zone extending 100 metres beyond it.