Thanks to all who responded.
It was, as Ken said, the child lock switch on the door edge. Why the car would have been delivered with one rear door child locked and one not is a valid question, but I still should have thought of that myself.
Thanks, Ken, for saving me a potentially embarassing visit to the dealer 😀