In case of foreign nationals being granted bail, courts put a condition of getting a certificate of assurance from the Embassies or High Commissions of the country they belong to and require them to apply for a valid passport and visa as they are unable to extend it while in jail.