Is there a trick to this? I removed it to get access to the firewall, when I put it back it does not latch closed.

Late edit.
FIXED. I may not have had the glove box in properly. I had another go, closed the glove box ad put in the bolts and voila!