Overtaking is a big word, you maybe meant passing? With the keep your lane doctrine that is something to be expected.
Here in Switzerland we are allowed to PASS traffic on the right hand side to (since Jan.01.2021). But you are NOT allowed to overtake, as in change lanes actively.