Disputed pipeline backed by Trump is focus of court hearing