We'd need to know which model D40. There are differences between the Spanish builds and Thai builds - enough so that it will be impossible to install a bar for one on the other.
Check your VIN (it's on your rego and at the bottom of your windscreen on the left side). If it starts with "VSK" it's from Spain, if it starts with MN, MR or something like that it's from Thailand.