Appeal Court rules HRA incompatibility