单项选择题

We ()our dinner when a policeman came to the door.

A. just had
B. have just had
C. just have had
D. had just had