For the purposes of sections 3 and 4, the test of what is expected is a test of what a reasonable person in the United Kingdom would expect in relation to the performance of the type of function or activity concerned.
In deciding what such a person would expect in relation to the performance of a function or activity where the performance is not subject to the law of any part of the United Kingdom, any local custom or practice is to be disregarded unless it is permitted or required by the written law applicable to the country or territory concerned.
In subsection (2) "written law" means law contained in—