The advice to play sharp lines against stronger players never worked for me. On the contrary, I use sharp lines against weaker players, but fare much better against stronger players if I go for closed positions with slow positional buildup (which is not the same as passive play, mind you). Yes, of course really strong players would beat me regardless of style of play, but those "stronger" guys I used to play at clubs and tournaments back in the days were mainly better in tactics and visualisation. And we all know that one tactical mistake and you're done.
I guess there are two camps in this crowd. The people that are trying to beat higher rated opponents at all costs for the rating points, and the crowd that is focusing on their chess improvement. The only reason these strong players got good at tactics and visualization (and became stronger) in the first place was by studying tactics and playing slow games in tactical positions against stronger players and getting destroyed.
I didn't say a strong player would fall for a simple trap. I said if the position becomes entremely complex it increases the chance of any player, strong player included, going wrong.
Of course, it's still much more likely that you will go wrong than your much stronger opponent. But I'd still rather give myself a very little chance against a GM/IM, than just let them outclass me at their leisure.