Don't know the rules in Europe. I don't think they are as strict as I have flown there somewhat, and the door was open at times.
There should never be only one crew member behind the door inside the cockpit, or the secondilot should always be able to open that locked door.
This proves that point, for whatever reason.