Tampering with Posted Transaction Entries

Hello Guys 

I noticed a developer tampering with posted GL transaction previously and i tested the exact method with developer license and works fine, i know it is dirty and lazy trick and also not a logically way and advisable to perform, but just for a curiosity sake is there any way that will affect the data integrity if it is done correctly.