If you fell safe to overtake while no vehicles are oncoming then i don't think there is a rule for that so its fine, if they did it as a troll then report them with Proof they did something wrong, Every time i play TMP ETS2 or ATS i always record so if something goes wrong then i can offline report with there TMP ID and Video proof that they did something wrong.