Restrictions on fundamental rights must have a legal basis. Significant restrictions must have their basis in a federal act. The foregoing does not apply in cases of serious and immediate danger where no other course of action is possible.