You will be detained at the airport even if you have an exit permit once the bank notifies the immigration.