I get most of the UK scientific community was against Brexit, but the truth is the majority voted what they voted, yes it's a terrible mistake even seen from Pluto but it is what it is. If you want in again, then make the political transformations first like anyone else. Yes, nothing was ever by the book and perfect but this type of loopholes, Northern Ireland deals, etc. will come out as net-negative in the end.