The wiring is correct and this is very normal for fixed heating appliances in france. 4 wire system for fil pilote (cental programmer).
fil pilote is black and is live if used for programmer, if not connect as follows: brown is phase, Grey is neutral and yell/green is earth. leave black not...