I had to show my passport 3 times in 8 meter at the border between Hungary and Croatia. Every time I showed an official my passport, I thought we we're finished, and closed my jacket and put my gloves on again – all in 31 degrees Celsius.
It was much easier to re-enter the EU again an hour later.
