While the “customer is always right” is said a lot, even if you believe that, they’re not hiring you to be a yes man or yes woman. Bring your expertise and tell them if a way they want to go is a bad idea. If they insist and it turns out disastrously, you’re on record as opposing the idea. If you don’t protest, they’ll blame you, anyway.