Gary the goat walks free from a Sydney court after being taken by police for eating flowers outside a museum.