The Sermon on the Mount is not the words of a crazy man. He finally infuriated them so much that they had him crucified. Pilate said to them, You take Him and crucify Him, for I find no fault in Him. They were well aware of what He claimed. Now, twenty centuries later, many try to say that Jesus never made these claims.
Most trials are over what people have done.
Jesus was put on trial for who He claimed to be.