Notwithstanding anything in the Act of 1847, a district council shall not grant a licence to drive a hackney carriage—
In determining for the purposes of subsection (1) whether an applicant is disqualified by reason of the applicant's immigration status from driving a hackney carriage, a district council must have regard to any guidance issued by the Secretary of State.
For the purposes of subsection (1) of this section a person is authorised to drive a motor car if—
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Any applicant aggrieved by the refusal of a district council to grant a driver's licence on the ground that he is not a fit and proper person to hold such licence may appeal to a magistrate's court.