Generating data from marginalized model with fixed value for the parameter of interest

Thank you all for you answers and ideas. I’ll give a look at your suggestions in the next days and get back to you once I figured out how to do this.