The felling of the iconic Sycamore Gap tree was an act of "drunken stupidity", a court heard, as the two men responsible face sentencing.