For adult porn the legal system doesn't really care if they are consenting or real. A special needs teacher called Jane Longhurst was murdered by a guy who enjoyed violent pornography, so now mere depictions of particularly dangerous (and soon non-consensual) sex are made illegal. You could literally have signed written consent proof but if it looks like rape then it lands you in legal trouble because it might turn you into a rapist murderer.