I don't think circumventing the restrictions with a VPN is illegal. It's one of those dumb laws where everyone just has to basically play along but everyone knows it won't achieve anything.
This from the government that routinely leaves laptops on trains, with post-it notes stuck to them as to what the password is (this is not hyperbole they have actually done this).