There is a british embassy in Iran.
https://www.gov.uk/world/organisations/uk-for-iranians
In fact the foreign office advises against all but non-essental travel for
British-Iran dual nationals. For british citizens there is only a recommendation against travel to certain parts.
For many other citizens it's, arguably, even safer.