Rock pipit?

Only got a picture of the back of it but wondered if it was a rock pipit. It was at St Peter Port harbour, Guernsey. A female house sparrow landed near to it and they looked totally different, as its beak was thinner than the sparrow's.