Of course, in the USA they issue a temporary licence there in the spot after you pass a flight test, but in Europe this would just be terribly dangerous
And the first time they do that, for your Private Certificate, it includes night flying for the rest of your life. Shocking