So I was recently studying 't Hooft's paper on self-dual solutions to Yang-Mills on $\mathbb{T}^4$. So the basic idea is that you consider a box with periodic boundary conditions and then you impose the condition that gauge invariant quantities are periodic. This means that the gauge field is periodic modulo a gauge transformation. So you associate four gauge functions with each wall of the box given by $\Omega_{\mu}(x_{\mu}=a_{\mu})$. So, if you cross a wall at some point $x_{\mu}=a_{\mu}$, then the gauge field comes back on the other side after being acted upon by the corresponding gauge transformation. At least, that is what I understand at the moment. Now, my confusion is regarding the consistency condition he imposes in order for this system to be consistent at the corners of the box. It's the idea that if you start at one corner, the gauge field should change by the same amount whichever wall you move along to reach the opposite corner. This, he claims, gives rise to the condition: $$ \Omega_2(x_1=a_1; x_2=0)\Omega_1(x_1=0; x_2=0) =\Omega_1(x_1=0; x_2=a_2)\Omega_2(x_1=0; x_2=0)$$
But now consider starting at the origin. Consider a square for simplicity with the origin being at the bottom left corner. If you move along $x_1$ to reach $(x_1=a, x_2=0)$ ($a$ is the side of the square), the gauge field at this point must be the same as at the point $(x_1=0, x_2=a)$. This just gives us $$\Omega_1(x_1=0; x_2=0)=\Omega_2(x_1=0; x_2=0)$$ Correct me if I'm misunderstanding what's going on here but I don't see why this can't be the case. Any help regarding this is highly appreciated. Also, let me know if any clarifications are required. I know my explanation is probably not very clear. So, I am attaching 't Hooft's paper here for reference.