The 255 tire is 20mm wider than the 235 and the sidewall is 45% of the 255 width. It should fit ok since the 17" dia is the same and the overall outside dia would be close.
ADD: No that size I don't believe exists. If it does it would be ok, just a small overall size. The 40 would mean the tire is quite short on the sidewall.