The normal rules of war always apply. Famously, that's the point of them. A state isn't allowed to ignore the rules of war if it finds them inconvenient.
The Geneva Conventions are quite clear that PoWs are allowed to communicate with the outside world, subject to militarily necessary censorship. If charged with a crime, they have the right to choose their legal representative.