Planning consent for police station to become school