Judging from the information IN this thread, they reached their diversion fuel, 3100 kgs, some 20 minutes after the first go-around. That means they probably departed on this flight with around 20 minutes of extra fuel. For normal weather conditions this seem perfectly ok to me. For reasons not attributable to them, they had to make two go-arounds. By this time they were committed to the airport and rightly so, imho, used their emergency authority to land.