[25CA(1)An authorised officer may exercise the powers in this section if the officer has reasonable grounds for believing that a person—U.K.
(a)is in possession of a driving licence, and
(b)is not lawfully resident in the United Kingdom.
(2)The authorised officer may enter and search any premises—
(a)occupied or controlled by the person, or
(b)in which the person was when the person was encountered by the officer,
for the driving licence.
(3)The power conferred by sub-paragraph (2) may be exercised—
(a)only if the authorised officer has reasonable grounds for believing that the driving licence is on the premises,
(b)only to the extent that it is reasonably required for the purpose of discovering the driving licence, and
(c)unless the authorised officer is a constable, only if a senior officer has authorised its exercise in writing.
(4)Sub-paragraph (3)(c) does not apply where it is not reasonably practicable for the authorised officer to obtain the authorisation of a senior officer before exercising the power.
(5)An authorised officer who has conducted a search in reliance on sub-paragraph (4) must inform a senior officer as soon as is practicable.
(6)The senior officer authorising a search, or who is informed of one under sub-paragraph (5), must make a record in writing of the grounds for the search.
(7)In this paragraph and paragraphs 25CB and 25CC—
(8)For the purposes of this paragraph and paragraphs 25CB and 25CC a person is not lawfully resident in the United Kingdom if the person requires leave to enter or remain in the United Kingdom but does not have it.]