Uh, interesting! In that case you should only need to add the properties
api.libcamera.location = back
or
api.libcamera.location = front
respectively and things should work as expected (i.e. mirrored front, non-mirrored back).
(see SPA_KEY_API_LIBCAMERA_LOCATION)