Nothing would have been welded to the chassis from the factory or dealership.
Yes, as has been pointed out, anything like that will be a WoF failure.
It would need a registered/certified engineers and/or structural repairers certificate to say its OK.
Would be far easier to cut off and get the steps altered so the are bolt on.
Bookmarks