Turkey has warned Australia against any further formal recognition of the Armenian genocide to avoid undermining its relationship and the special centenary commemoration of Gallipoli in 2015.

And NSW Premier Barry O'Farrell has retaliated, saying it was ''deplorable'' for the 100-year anniversary of the Gallipoli landing to be used for political purposes.

NSW MPs have been told they will not be welcome at the Gallipoli centenary commemoration in 2015. Credit:Mike Bowers

Turkey has also made it clear that NSW MPs are not welcome to attend the ceremony because of bipartisan support for a motion moved in Parliament by Mr O'Farrell in May which recognises and condemns the Armenian genocide.

The warning from the Turkish speaker of the parliament, Cemil Cicek, has come on the eve of a public ballot for 8000 tickets reserved for Australians to attend the special ceremony in Gallipoli on April 25, 2015. The ballot opens at midnight on Friday and closes on January 31.