Nathan Gill made comments and wrote media articles on Ukraine while an MEP, court hears