* Erdogan on surprise visit to Tunisia* Erdogan, Saied discussed cooperation for Libya ceasefire
* Turkey signed maritime, military agreements with Libya
Turkish President Tayyip Erdogan paid a surprise visit to Tunisia on Wednesday to discuss cooperation for a possible ceasefire in neighbouring Libya, where Ankara supports the internationally recognised government.
Erdogan, speaking at a joint news conference with Tunisia's President Kais Saied, also reaffirmed Ankara's willingness to send troops to Libya if it received such a request.
Erdogan's visit to Tunis came a month after Turkey and Libya signed two separate accords, one on maritime boundaries in the eastern Mediterranean and another on security and military cooperation.
Turkey backs Fayez al-Serraj's Government of National Accord (GNA), which has been fending off a months-long offensive by Khalifa Haftar's forces in eastern Libya.
Erdogan, the first head of state to visit Tunis since Saied's landslide election win in October, said the developments in Libya were having a negative impact on neighbouring states, including Tunisia.
"We discussed the possible steps we can take and cooperation opportunities with the aim of establishing ceasefire in Libya as soon as possible and returning to a political process," Erdogan said.
In Tunisia's hybrid political system, the prime minister controls most policy areas, while the president is in charge of foreign affairs, defence and security. Tunisia's main foreign policy interests have traditionally been in maintaining strong ties with its two much larger neighbours Algeria and Libya.
Last week, Erdogan said Turkey would not remain silent in the face of "mercenaries" such as the Russian-backed Wagner, a group of private military contractors, supporting Haftar's forces in Libya. Moscow has said it is very concerned about the prospect of Turkish troops being deployed there.
On Wednesday, Erdogan reiterated that Turkey would evaluate the option of deploying troops if the GNA asked for support after signing the military agreement, and added that the Wagner group had "no connections, nothing" in Libya.
"Until today, we have never been unwanted guests anywhere, but if a call is made then we will surely evaluate it and take steps," Erdogan said. "Serraj is the GNA's premier. We are taking steps with him. Haftar has no such title."
On Tuesday Erdogan's spokesman Ibrahim Kalin said Turkey's parliament was working on a draft bill that would allow troop deployment to Libya.