Enharmonic spelling with Music XML

I have imported an Cubase Music XML file. The key is F. All the B flat notes are notated as A sharp, all E flat notes as D sharp. Is it possible to change this at once?

I think not.
Just an idea: What happens if you select all and hit shift-alt-up, then shift-alt-down? Does Dorico respell the offending notes?

Edit: I was reminded to try this myself today – I was not in front of Dorico when I originally posted this. It doesn’t work, at least not reliably.