You sign the self certification form declaring you are a tax resident of what all countries. If you declare just UAE - the residence permit is a proof of that it very much might be possible you are doing correct declaration on certification form and bank takes you at your word. Unless, you have a high value account and there are indica that you might be resident in more than one country. SO yeah technically it is your responsibility to declare your tax residency.
Here is the complete guide by UAE Authorities on the subject:
https://mof.gov.ae/wp-content/uploa...tes-for-the-Common-Reporting-Standard-CRS.pdf
Here is the complete guide by UAE Authorities on the subject:
https://mof.gov.ae/wp-content/uploa...tes-for-the-Common-Reporting-Standard-CRS.pdf