Leaving aside the UPC element, consider the headline. Right now there's no basis for saying that patents and trademarks would need to be re-filed. Like everything else that involves EU influence there'll have to be a decision taken about the status of existing registrations. It may well be that the outcome will be that all existing registrations still stand as applying here after exit and that double registration will only be needed after some future, yet to be announced, date. In fact, I'd say that that's likely for the simple reason that sorting things out is going to be complicated enough without making further complications.