Laws are sometimes stupid.
However this assumes they will be able to trace back the device to you. If you do it properly (I guess start with not leaving 3 phones with active SIM cards inside) they won’t be able to and you can enjoy your sweet revenge.