My guess: Flight from a licesing point of view would be legal - but uninsured (so if something happens, insurance will not pay) - unless the guy on the right seat is an instructor, in which case he would log PIC and the guy in the left seat would log dual to satisfy insurance requirements. Therfor: if it is illegal to fly uninsured, the flight would of course be illegal.