Judge sides with city in McGovern case