It isn't a slimy way to circumvent the law. It is just part of the law. Conditions of employment requirements are part of all jobs.