So it is legal, but it is not in the spirit of GPL.