“Paragraph 1 does not prevent the exercise of a power or the performance of a duty if, and to the extent that its exercise or performance is necessary for the purpose of avoiding a breach of – (a) a person’s Convention rights, or (b) a person’s rights under the Community Treaties.”