I made a transfer with a mistyped IBAN once in the online interface of my German bank. The bank called me a day later and said that there’s something wrong with my IBAN, so I double-checked, realised my mistake and did the same transfer to the correct IBAN. I did not loose any money.
I'm not sure about IBAN, but in the UK there are multiple layers that help you avoid sending to the wrong account. However, if you do ultimately send money into an actual incorrect person's account, the only thing the recipient's bank will do is to ask them to send it back. They will not give you contact details or anything else.
> The IBAN check digit consists of two digits in positions 3 and 4 of the IBAN.
It is calculated using the MOD97 algorithm and provides the primary integrity check for the IBAN standard.
You will not have any luck enforcing that court judgment if the recipient does not want to play ball. All they need to do is transfer the money to another country.
It is very unlikely that law enforcement would help you in a situation like this, especially internationally.
To everyone: If you wrongly send money to a mistyped IBAN it is gone.