Claiming warranty on Xperia 10, should I reflash Android, lock the bootloader?

I also asked the contractor “Is it possible to replace battery without replacing motherboard on a rooted Sony phone?”
(Maybe a bit unclear since I did not explicitly state that this was a hypothetical question?)

Got an answer this morning (translated from Swedish by me):
"Hello again. We are unfortunately not allowed to do that as an authorized Sony workshop.

As the device is rooted we are in fact not allowed to handle it at all."