Hum... It can be your assumption, but most countries do not fulfill it.
Detention in particular is a violation of human rights, with an exception to strictly for the time it takes for the next flight to take off.