The man claimed that he was taking the stray dog home to keep it as a pet