Appeal judges back farmer on polytunnels