peridot , manu's caste system was based on varna (the thought process of a person) and not jati. there are many examples of kings throwing their sons out as considering them to be shudra and similarly many chandaala or lower castes sons have become venered rishis like parashara.
the occupational divide came much later in interpretation , and rigidity insinuated more for convenience in administration rather than reality.