With the test case attached in my case the COMMIT PREPARED record does not even get replayed.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных