according to doc h the branch pipe must be a minimum of equal to the trap size of the wc which are 4" so how can you connect this to 3" ?
You can buy pan connectors for the job, look to buy a wc pan with an 80mm outlet if your concerned.
As I said ask your building inspector, call in to the office if necessary.