A goat accused of eating flowers in central Sydney has had his day in court and beaten the rap.

James Dezarnaulds, aka Jimbo Bazoobi, was issued with a $440 fine on August 22 after police caught his goat Gary chomping on flowers outside Sydney's Museum of Contemporary Art.

But the case was dismissed in Sydney's Downing Centre Local Court on Wednesday.

Magistrate Carolyn Barkell said the accused goat had been eating the flowers when police arrived.