Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
At first totally agree with him/her.
Make him/her feel that you really like his/her ideas.
When he/she starts to rely on you then express the problem of his/her ideas as if you just explored them and it was something that both of you ignored unintentionally and your boss would never take such decision if he/she have had noticed those issues.
Try to convince him/her why you both were (not only your boss) wrong. Explain the legal/logical aspects to him/her. If he/she understands then well & good. But if he/she doesn't understand, probably he/she doesn't want to understand. Then you have to find a way out to reach his/her boss to explain your issue.