While an application under section 54 is awaiting determination, and while a patient is a restricted patient, sections 50 to 53 shall apply in respect of the patient as if he or she were a special patient, and nothing in sections 31 and 32 shall apply in respect of that patient.