I have a transit van (you may have seen it around @paceman), it has a couple of plastic side trims on the windscreen, that when they replaced the windscreen a few years back mustve broke the tabs. I was heading up the highway for a job & when i past a truck the pressure blew them off.
Solution...I use a couple of different sealants in my work, so i just pumped it up with superseal & pushed them back on.... that was probably 3 yrs ago for 1 & 2 yrs for the other, they never moved. Dont think it matters what type you use as long as you dont subject it to load/pressure before setting.
Side note, pity the poor fool who has to get them off though
Edit
Actually i had the windscreen replace earlier this year after an insurance bingle, so they must've restuck them with something similar