This question is strictly out of intellectual curiosity.
I am aware of many cases in which a foreigner who is visiting or living in a host country is suspected of having committed a crime, and they are either not arrested or are set free but the host country seizes that person's passport to prevent them from leaving the country while the investigation is underway.
This always made me curious: I always wondered what prevents such person from getting another valid passport from their consulate? Is there any example of this happening in practice?
I understand that new passport or not, a (sufficiently advanced) host country can simply flag that person and the computer will produce a match by name/biometrics/etc. during exit checks; but if a match will happen anyway regardless of passport, why seizing it in the first place? (Also: multiple citizenship.)
And in some countries foreigners are required to carry their passport at all times. Could a person with a seized passport now be charged with violating these other laws, even if involuntarily?