Ett par med en aggressiv hund var i full färd med att visitera en man som de ställt upp mot ett stängsel när polisen ingrep.