After a year of ups and downs and a legal battle to decide the fate of Molly the magpie, common sense has finally prevailed.