NOT breaking and entering?
From what I read, the owner observed a squatter leaving, and that person left the front door open. Owner went into the empty home and had the locks changed. Perfectly legal for the owner to enter the home. If squatters leave the home unoccupied, the owner has every right to enter if the door is left open.
Also, the bad illegal "tenant" came back to the now changed locks, and forcibly gained entry pushing himself past the owner. That is the reason the courts have now charged the squatter. The cops who arrived for that incident wrongly arrested the home owner.