<p>My understanding is that the rules the op posted are the ones to be considered regarding the legality. Last summer my d had an unpaid internship that she could do for credit or not but chose no credit (due to the fact that it would have cost money to the school to get the credit and a lot of busy work paperwork). She enjoyed the experience and found it valuable regardless of pay. I think that many firms either bend or break those rules though and just hope it isn’t pursued.
This year she got a very nice paid internship so no worries : )</p>