pdfcpu is the reason I stopped using pdftk.
I’m hoping pdfcpu does the right thing instead and actually rotates the image in the file.
cpdf -upright in.pdf -o out.pdf
will set the page rotation to zero, counter-rotating the page dimensions and content to compensate, leaving it visually unaltered.(Disclaimer: I wrote it)