I accidentally wrote 1 page of my section 2 in my Section 1 area but I labelled it in the end.
The exam supervisor said that as long as I labelled it as "Q2)", then I was fine.
I think it's okay as long as you have labelled it as the question number you're answering.