However, the reality here is not likely that a sandwich shop employee would have to “threaten to take an employer to court”.
The most likely scenario is that the hiring manager doesn’t even realize that boilerplate is in their employment agreement. The second most likely is that the employer grumbles about the employee leaving and that’s as far as it goes.