Riding 10 MPH into a 17 MPH wind should feel the same as riding 27 into a dead calm.
However, it does mean you're going to be on the road for a lot longer on the same route, so in that respect, a headwind is worse.
I hate headwinds. It's a hill that you never get to ride down the other side of.