Is it possible to change root type of any child account

The root type of the parent account is proper but by mistake the root type got changed for the child account.
Journal Entries are made against this account.
Can now be the root type changed??

I don’t recommend it but you can run a mysql query to update the child account and the Journal Entries that carry that child account.