With my earlier suggestion of joints in the boxes and a pigtail onto the socket, the socket terminals will not be taking the full load of the circuit, the joint behind will.I have used Wago to extend 6mm cable no problem
The issue is still you have sockets on a 40amp mcb and don't know the rating on the sockets