Roof folds down but boot lid will not close

Hi I have a 207CC and when I try to put the roof down it folds into the boot but the boot lid will not shut. I hear the bong and it tells me that the
operation is not complete. I can put the roof up and the boot lid will close but not on opening. Can anyone help as to why this happens?
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website by car enthusiasts for car enthusiasts. It is not affiliated with any of the car or spare part manufacturers or car dealers discussed here. All logos and trade names are the property of their respective owners.