Zero laws on it.
But.......
The instructor better have the paper work compete or insurance rears its head and also manslaughter if the worst happens.
Personally unless they have a QA sign off through the engineering system the student will have a valid medical which I have seen and a copy is in the student records and ground emergencys have been documented as complete in the student records. Solo and airlaw I don't really give two hoots about.