Slovenian border police are still annoyingly funny.
You really don't have to chech each ID document so thoroughly: Slovenia is sourrounded by Schengen countries, nobody would want to live as an illegal immigrant in your country.
Please, officer! Stop! Don't bite the passport to see if it is legitimate! It's not a gold coin!
P.s.
And pro-tip: you should check the documents of those entering the country, not of those exiting