I'm sorry, I can't help with the 40mm waste as I'm not sure exactly where you're trying to connect it to. If it's into a bigger pipe then get a 40mm hole saw, cut a hole, push the pipe in and seal around it.
The collar might come out in one piece but if you have to smash it and bits go down the...