It's an interesting question - and maybe one where the Regs don't back up what common sense might tell you.
The relevant reg only mentions the wall with an accessory on it (or the reverse if less than 100mm)
But if you see a socket on the main walls in this room, then it might make sense to consider that cabling might be run horizontally, including the "cornery bit"
It sounds like a fitted wardrobe is going in place in front of one of the sockets, which muddies things further since the original 'socket' may not be brought forward into the wardrobe and won't give that clue.
If the wardrobes are fixed, then could the surface of the wall said to be the inside of the cupboard, or the original wall behind it?
I think the compliant method would have been to take it vertically to 150mm below ceiling (looks like would not require disturbing coving) and then run it round.
Quite a bit of extra work though.
So probably non compliant, but I wouldn't say necessarily dangerous.