If a justice of the peace (acting, if he deems it necessary, ex parte) is satisfied, on a written certificate issued by the medical officer of health of any district.—
the justice may order them to be medically examined by the medical officer of health or by a registered medical practitioner nominated by him.
An order under this section may be combined with a warrant under section 287(2) of the Public Health Act 1936 authorising the medical officer of health to enter any premises.