In the scenario that the solution presented is wrong, I would suggest the following:
1) Ask for clarification as to why they believe their solution is correct. You may discover some cases where your solution isn't a fully fleshed out as possible.
2) Then ask the person how his solution handles the likely issue of X. If they have an answer that accounts for the risk in a reasonable manner, then consider their scenario. If it doesn't, goto step 1.
3) If you have a chief architect or sr developer, and the person is unyielding after trying steps 1 and 2, appeal to that person. Make your case to him/her and ask for guidance. In that scenario, just follow the guidance.
Unfortunatly, you'll also have to gauge the political environment as well. If the person saying it is a major stakeholder, you're going to need to step more carefully, as political fallout could make it harder to do your job. That doesn't mean to stay quiet, just to be wise in your wording :-)