That's the same everywhere: if you do not have the correct papers to travel, you will be blocked at immigration
Hi Yves
I don't want to split hair but in most countries, one does not pass through any Government check (Emigration) to leave ones own country. At airports the checks made to ensure you have the correct travel documents are made by the airlines, as they are responsible to return you to the country of origin if the country you are travelling to will not admit you.
That is, at say UK or Schengen airports there is in effect no Emigration Dept, (people leaving) only Immigration, as the country is interested in who is arriving, not who is leaving.