“Formulating and implementing the city’s master plan is the prerogative of local governments,� ruled Justice Gulzar.