That happens in the US as well. Judges can refer cases to mediation before trial.
https://www.commerciallitigationupdate.com/what-to-do-when-y...