The Kuala Lumpur High Court has dismissed the Selangor government's legal challenge against the Election Commission on its constituency redelineation exercise.