That's a nice way to resolve the extraneous space issue on pages which exclude the header/footer if you don't want that empty space on those pages. But would this technique count as three(3) credits against your license?
support
wrote on 2020-02-07:
Yes, this procedure requires 3 conversions because it runs in 3 steps.
support
wrote on 2021-03-11:
Our new version supports different header/footer on each page. Just enable a special CSS annotation by setHeaderFooterCssAnnotation and use new CSS classes in your header/footer HTML.