Whenever in the judgment of the Department of Transportation any state highway will not with safety to itself sustain the maximum weights permitted under this code for the highway, the department shall determine, after a public hearing, the maximum weight which the highway will sustain.