Timing was poor - during the budget season when the entire legislature was in town. The notion that a sandwich stop should be allowed to restrict the future employment is absurd on its face.
Yet there are fields where it makes sense. When I was an employee of the government, ethics laws limited my ability to leave and sell my services to the government in various ways. There are similar scenarios in other industries.
I think this is more about corruption control than non-compete.
It’s a form of corruption.