How to change a single page size in Draw?

In draw there is a bug that exporting to pdf some objects, even when you select “range->selection”, it actually exports the whole page (https://bugs.documentfoundation.org/show_bug.cgi?id=101454)

The workaround is to resise the page to the objects you want to export. But if I change page settings, choosing a custom format, this apply to all the slides in the draw document.
How to make it apply to just the current slide, so to have different page formats on each slide ?

It’s not possible:

Bug 49787 - Formatting: Allow different slide / page styles (orientation, size) in a single document

The only “workaround” I can imagine is to copy&paste the drawing to a temporary file (you don’t need to save it) with the correct page size and export the PDF from there.