By use of elementary geometric arguments we prove the existence of a special integral solution of a certain system of linear equations. The existence of such a solution yields then the NP-hardness of the decision problem on the existence of locally injective homomorphisms to certain Theta graphs.