It is not only JAR, and EU-OPS requiring only one commander.
All airlines and aviation administrations have that one requirement.
It is just a matter to fill in the papers before departure, on flight documents.
Spells PIC on paperwork. He/she is in command. Simple as that.
xxx
Happy contrails