Where any building forms part of a fence and the pool is not contained within the building, any door that gives access to the immediate pool area need not comply with the requirements for gates or doors set out in clauses 8 to 10 to the extent (if any) that the territorial authority is satisfied that such compliance is impossible, unreasonable, or in breach of any other Act, regulation, or bylaw, and the door is fitted with a locking device that, when properly operated, prevents the door from being readily opened by children under the age of 6 years.