This worked for me. If there’s a plain div tag then, for some bizarre reason, the ‘stray p tags’ dissappeared.
<div class="removeptags">[contact-form-7 id="861" title="Contact Form"]</div>
No need to even go near a style sheet, I only gave the div a class so it was easy to find in the source code