I'm going to disagree with RodgerF slightly here I think.
To use Mark 1's quotes, in this scenario, the instructor would not be qualified to fly the aeroplane, because according to JAR-FCL 1.035 he needs a Safety Pilot, and there is no suitable Safety Pilot on board.
However, not being qualified to fly the aeroplane does not prevent him acting as a "safety pilot" as defined in Rule 6.
Therefore, it would be entirely legal, I think, for the student to log P1, put some foggles on, and fly simulated IMC in VMC.
However, it would
not be legal to fly in actual IMC - the student is not qualified to do so, and the instructor, although qualified to fly in IMC, is not allowed to act as PIC. It would also
not be legal for the instructor to log the time, or for the student to log the time as PUT, since the instructor can not act as P1 without a Safety Pilot.
At least, that's the way I read the rules. But then I'm probably completely wrong!
FFF
-----------