New Westminster Mayor Patrick Johnstone's all-expenses-paid trip to Dubai for a climate conference last December violated the city's Code of Conduct for Council Members and the Community Charter, the city's ethics commissioner has ruled.