Data protection directive
Well, sharing some data will be outright illegal after that, at least until the DPA arrangement between Eu and UK is sorted out.
Considering the legislative intent of Teresa May as it stands, the likelihood of that one sorted out is even less than access to common market while introducing immigration controls.