it is only a recommendation to not allow employees to participate in them but in the case of oversubscribed IPOs, is it required to not participate?

I would say it shouldnt because since its oversubscribed it means that your clients are going to get the initial amount wanted. SO you must allocate to your clients and firm first.