It's the FAA practice of two pilots both logging PIC that EASA don't like - but assuming you can get proof that your safety pilot didn't log anything (maybe their logbooks for the relevant period) - then presumably it wouldn't be a problem. There are whole threads on this subject. The bottom line is that whilst flying under the hood is legally a two pilot operation in both jurisdictions; the FAA allow both to log PIC and EASA don't allow the SP to log anything! P1 and P2 is the obvious solution...