Multi-choice problem: Is the next sentence syntactically and semantically acceptable?

I brought John a razor with which to shave himself.
Options are:
(A). unacceptable
(B). acceptable
(B).