Andrew Mountbatten-Windsor and Thames Valley Police agreed warrants to raid two properties were unlawful