When passing through the detention area (not inside the cells themselves) in the Citadel Jails, I found my guard PC would randomly be flagged as 'jailed'. His clothing would then be stripped from him (not his helmet or cloak, weirdly).
On server resets, I would often find my garda flagged as jailed after having worked in the jail area, and thus, only one entry point would be available.