A Foreign Office official has said the UK's travel advice to Tunisia was discussed the day after the attack at the Bardo National Museum in Tunis in March 2015, but it was left unchanged.
In a statement to the inquest looking into the June terror attack in Sousse, Jane Marriott, a former director of the Foreign Office's Middle East North Africa Directorate, said FCO officials and minister Tobias Ellwood met in London to discuss the travel advice.
Three militants stormed the Bardo museum and killed 22 people just three months before the deadly terror incident on the beach in the popular resort of Port El Kantaoui.
Ms Marriott said it was decided to keep the advice at the same level, and not to advise Britons against any travel to tourist areas of Tunisia, but the phrase "further attacks are possible" was added to the Government's travel advice website.
She added that countries who also lost nationals in the first attack, including France, Japan, Spain and Russia, had also kept their tourist travel advice at the same level as before the attack.
The only country to alter its travel advice was Poland.
The inquest into the deaths of 30 Britons heard that lives could have been saved and the slow response of security "amounts to an offence".
Lisa Burbidge was among 30 Brits killed in the Sousse terror attack in June 2015 - but her friend survived by hiding in a toilet.
James McQuire died after the ambulance he was in sat motionless outside a hotel for 20 minutes, an inquest into the Sousse attack heard.