You shouldn't need to undo any bolts, ...just remove the gas struts from the mounts & turn them around.
Depending on the one's you have you will have to either just gently leaver the strut from the ball socket or (like the one below in the pic) pull a pin out & then leaver out of the socket.
Struts should fit on like the ones below when fitted correctly.
Edit: Also I don't think it's so much that it will cause a problem with opening & closing it's more that they are designed to work a certain way so if fitted the other way the seals inside the struts will fail quickly as they don't get lubricated properly.