Events elsewhere also inform theory. Socialism could not have been implemented in China without the overthrow of the European and Japanese occupations. Vietnam could not truly be free while subject to French, Japanese imperialism and the later US client state.
Any kind of socialism would be impossible to implement in Ireland without firstly the removal of its part-occupation by a foreign imperialist power.