Top court "shreds Joint Declaration by excluding candidates"