It's a bit more complicated though.
In fact, nothing stops the UK following the EU laws that it wants to afterwards as well.
It's a bit more complicated though.