Yes, otherwise the entire idea of EASA would be useless. Since last year, or so, you just need to carry a piece of paper with you, confirming that you are allowed to fly a plane registered in EASA-country Z, although your licence was issued in EASA-country Y. That's all.