Jailbreaking may or may not be legal depending on your country laws. I recall that in the U.S. there is a recent new exception to the
DMCA which allows for jailbreaking.
Now of course, if the developer contract you've agreed to says it isn't allowed, then you'd be breaking that agreement.
Perhaps you should flip a coin to decide how important it is to you to jailbreak your device.