Created attachment 25013 [details] Short XSL-FO that demonstrates this issue Conditions: - force-page-count="end-on-even" is used; - an empty page must be added to conform the above property; - a fo:conditional-page-master-reference has the property page-position="last". Result: - the master [last] is used on the page before the new last one; - the last page uses the [normal] master.
resetting P2 open bugs to P3 pending further review
*** This bug has been marked as a duplicate of bug 51962 ***
well spotted, Matthias. attached test case is now rendered as expected.