Would a linguist find the following sentence to be a valid English sentence grammatically?

That the fuzz wanted him worried John, but that the fuzz wanted John didn't worry Mary.
Select from:
a). unacceptable.
b). acceptable.
b).