@jeremushka
Indeed, it is a complex way to switch on a lamp, but if you only want to change the switch, I guess it's what you need to do. It would be much easier to insert something at the light bulb, as your neutral is available there.
My French is not that good, but I think you can solve your "va et vient" by changing the NO relay in your reference schematic with a NO/NC relay (SPDT switch).