Parenting with Different Cultural Backgrounds

How does the court treat parenting decisions when the parents are of two different cultural backgrounds?
When parents of different ethnicities separate, the court is often faced with the dilemma of determining which parent’s culture will the children be primarily raised in.